@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRouteRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateRouteRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateRouteRequest |
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 |
getMeshName()
The name of the service mesh in which to create the route.
|
String |
getRouteName()
The name to use for the route.
|
RouteSpec |
getSpec()
The route specification to apply.
|
String |
getVirtualRouterName()
The name of the virtual router in which to create the route.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setMeshName(String meshName)
The name of the service mesh in which to create the route.
|
void |
setRouteName(String routeName)
The name to use for the route.
|
void |
setSpec(RouteSpec spec)
The route specification to apply.
|
void |
setVirtualRouterName(String virtualRouterName)
The name of the virtual router in which to create the route.
|
String |
toString()
Returns a string representation of this object.
|
CreateRouteRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateRouteRequest |
withMeshName(String meshName)
The name of the service mesh in which to create the route.
|
CreateRouteRequest |
withRouteName(String routeName)
The name to use for the route.
|
CreateRouteRequest |
withSpec(RouteSpec spec)
The route specification to apply.
|
CreateRouteRequest |
withVirtualRouterName(String virtualRouterName)
The name of the virtual router in which to create the route.
|
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, withSdkRequestTimeoutpublic 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 CreateRouteRequest 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 setMeshName(String meshName)
The name of the service mesh in which to create the route.
meshName - The name of the service mesh in which to create the route.public String getMeshName()
The name of the service mesh in which to create the route.
public CreateRouteRequest withMeshName(String meshName)
The name of the service mesh in which to create the route.
meshName - The name of the service mesh in which to create the route.public void setRouteName(String routeName)
The name to use for the route.
routeName - The name to use for the route.public String getRouteName()
The name to use for the route.
public CreateRouteRequest withRouteName(String routeName)
The name to use for the route.
routeName - The name to use for the route.public void setSpec(RouteSpec spec)
The route specification to apply.
spec - The route specification to apply.public RouteSpec getSpec()
The route specification to apply.
public CreateRouteRequest withSpec(RouteSpec spec)
The route specification to apply.
spec - The route specification to apply.public void setVirtualRouterName(String virtualRouterName)
The name of the virtual router in which to create the route.
virtualRouterName - The name of the virtual router in which to create the route.public String getVirtualRouterName()
The name of the virtual router in which to create the route.
public CreateRouteRequest withVirtualRouterName(String virtualRouterName)
The name of the virtual router in which to create the route.
virtualRouterName - The name of the virtual router in which to create the route.public String toString()
toString in class ObjectObject.toString()public CreateRouteRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.