@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateGatewayRouteRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateGatewayRouteRequest() |
Modifier and Type | Method and Description |
---|---|
CreateGatewayRouteRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getGatewayRouteName()
The name to use for the gateway route.
|
String |
getMeshName()
The name of the service mesh to create the gateway route in.
|
String |
getMeshOwner()
The Amazon Web Services IAM account ID of the service mesh owner.
|
GatewayRouteSpec |
getSpec()
The gateway route specification to apply.
|
List<TagRef> |
getTags()
Optional metadata that you can apply to the gateway route to assist with categorization and organization.
|
String |
getVirtualGatewayName()
The name of the virtual gateway to associate the gateway route with.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setGatewayRouteName(String gatewayRouteName)
The name to use for the gateway route.
|
void |
setMeshName(String meshName)
The name of the service mesh to create the gateway route in.
|
void |
setMeshOwner(String meshOwner)
The Amazon Web Services IAM account ID of the service mesh owner.
|
void |
setSpec(GatewayRouteSpec spec)
The gateway route specification to apply.
|
void |
setTags(Collection<TagRef> tags)
Optional metadata that you can apply to the gateway route to assist with categorization and organization.
|
void |
setVirtualGatewayName(String virtualGatewayName)
The name of the virtual gateway to associate the gateway route with.
|
String |
toString()
Returns a string representation of this object.
|
CreateGatewayRouteRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateGatewayRouteRequest |
withGatewayRouteName(String gatewayRouteName)
The name to use for the gateway route.
|
CreateGatewayRouteRequest |
withMeshName(String meshName)
The name of the service mesh to create the gateway route in.
|
CreateGatewayRouteRequest |
withMeshOwner(String meshOwner)
The Amazon Web Services IAM account ID of the service mesh owner.
|
CreateGatewayRouteRequest |
withSpec(GatewayRouteSpec spec)
The gateway route specification to apply.
|
CreateGatewayRouteRequest |
withTags(Collection<TagRef> tags)
Optional metadata that you can apply to the gateway route to assist with categorization and organization.
|
CreateGatewayRouteRequest |
withTags(TagRef... tags)
Optional metadata that you can apply to the gateway route to assist with categorization and organization.
|
CreateGatewayRouteRequest |
withVirtualGatewayName(String virtualGatewayName)
The name of the virtual gateway to associate the gateway route with.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setClientToken(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.
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 String getClientToken()
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 CreateGatewayRouteRequest withClientToken(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.
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 void setGatewayRouteName(String gatewayRouteName)
The name to use for the gateway route.
gatewayRouteName
- The name to use for the gateway route.public String getGatewayRouteName()
The name to use for the gateway route.
public CreateGatewayRouteRequest withGatewayRouteName(String gatewayRouteName)
The name to use for the gateway route.
gatewayRouteName
- The name to use for the gateway route.public void setMeshName(String meshName)
The name of the service mesh to create the gateway route in.
meshName
- The name of the service mesh to create the gateway route in.public String getMeshName()
The name of the service mesh to create the gateway route in.
public CreateGatewayRouteRequest withMeshName(String meshName)
The name of the service mesh to create the gateway route in.
meshName
- The name of the service mesh to create the gateway route in.public void setMeshOwner(String meshOwner)
The Amazon Web Services 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.
meshOwner
- The Amazon Web Services 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 String getMeshOwner()
The Amazon Web Services 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 CreateGatewayRouteRequest withMeshOwner(String meshOwner)
The Amazon Web Services 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.
meshOwner
- The Amazon Web Services 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 void setSpec(GatewayRouteSpec spec)
The gateway route specification to apply.
spec
- The gateway route specification to apply.public GatewayRouteSpec getSpec()
The gateway route specification to apply.
public CreateGatewayRouteRequest withSpec(GatewayRouteSpec spec)
The gateway route specification to apply.
spec
- The gateway route specification to apply.public List<TagRef> getTags()
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.
public void setTags(Collection<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.
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.public CreateGatewayRouteRequest withTags(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.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
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.public CreateGatewayRouteRequest withTags(Collection<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.
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.public void setVirtualGatewayName(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.
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 String getVirtualGatewayName()
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 withVirtualGatewayName(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.
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 String toString()
toString
in class Object
Object.toString()
public CreateGatewayRouteRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()