@Generated(value="software.amazon.awssdk:codegen") public final class CreateGatewayRouteRequest extends AppMeshRequest implements ToCopyableBuilder<CreateGatewayRouteRequest.Builder,CreateGatewayRouteRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateGatewayRouteRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateGatewayRouteRequest.Builder |
builder() |
String |
clientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
gatewayRouteName()
The name to use for the gateway route.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
String |
meshName()
The name of the service mesh to create the gateway route in.
|
String |
meshOwner()
The AWS IAM account ID of the service mesh owner.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateGatewayRouteRequest.Builder> |
serializableBuilderClass() |
GatewayRouteSpec |
spec()
The gateway route specification to apply.
|
List<TagRef> |
tags()
Optional metadata that you can apply to the gateway route to assist with categorization and organization.
|
CreateGatewayRouteRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
virtualGatewayName()
The name of the virtual gateway to associate the gateway route with.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String clientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.
public final String gatewayRouteName()
The name to use for the gateway route.
public final String meshName()
The name of the service mesh to create the gateway route in.
public final String meshOwner()
The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then the account that you specify must share the mesh with your account before you can create the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.
public final GatewayRouteSpec spec()
The gateway route specification to apply.
public final boolean hasTags()
public final List<TagRef> tags()
Optional metadata that you can apply to the gateway route to assist with categorization and organization. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public final String virtualGatewayName()
The name of the virtual gateway to associate the gateway route with. If the virtual gateway is in a shared mesh, then you must be the owner of the virtual gateway resource.
public CreateGatewayRouteRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateGatewayRouteRequest.Builder,CreateGatewayRouteRequest>toBuilder in class AppMeshRequestpublic static CreateGatewayRouteRequest.Builder builder()
public static Class<? extends CreateGatewayRouteRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.