@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 |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateRouteRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateRouteRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getApplicationIdentifier()
The ID of the application within which the route is being created.
|
String |
getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
DefaultRouteInput |
getDefaultRoute()
Configuration for the default route type.
|
String |
getEnvironmentIdentifier()
The ID of the environment in which the route is created.
|
String |
getRouteType()
The route type of the route.
|
String |
getServiceIdentifier()
The ID of the service in which the route is created.
|
Map<String,String> |
getTags()
The tags to assign to the route.
|
UriPathRouteInput |
getUriPathRoute()
The configuration for the URI path route type.
|
int |
hashCode() |
void |
setApplicationIdentifier(String applicationIdentifier)
The ID of the application within which the route is being created.
|
void |
setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setDefaultRoute(DefaultRouteInput defaultRoute)
Configuration for the default route type.
|
void |
setEnvironmentIdentifier(String environmentIdentifier)
The ID of the environment in which the route is created.
|
void |
setRouteType(String routeType)
The route type of the route.
|
void |
setServiceIdentifier(String serviceIdentifier)
The ID of the service in which the route is created.
|
void |
setTags(Map<String,String> tags)
The tags to assign to the route.
|
void |
setUriPathRoute(UriPathRouteInput uriPathRoute)
The configuration for the URI path route type.
|
String |
toString()
Returns a string representation of this object.
|
CreateRouteRequest |
withApplicationIdentifier(String applicationIdentifier)
The ID of the application within which the route is being created.
|
CreateRouteRequest |
withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateRouteRequest |
withDefaultRoute(DefaultRouteInput defaultRoute)
Configuration for the default route type.
|
CreateRouteRequest |
withEnvironmentIdentifier(String environmentIdentifier)
The ID of the environment in which the route is created.
|
CreateRouteRequest |
withRouteType(RouteType routeType)
The route type of the route.
|
CreateRouteRequest |
withRouteType(String routeType)
The route type of the route.
|
CreateRouteRequest |
withServiceIdentifier(String serviceIdentifier)
The ID of the service in which the route is created.
|
CreateRouteRequest |
withTags(Map<String,String> tags)
The tags to assign to the route.
|
CreateRouteRequest |
withUriPathRoute(UriPathRouteInput uriPathRoute)
The configuration for the URI path route type.
|
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 setApplicationIdentifier(String applicationIdentifier)
The ID of the application within which the route is being created.
applicationIdentifier
- The ID of the application within which the route is being created.public String getApplicationIdentifier()
The ID of the application within which the route is being created.
public CreateRouteRequest withApplicationIdentifier(String applicationIdentifier)
The ID of the application within which the route is being created.
applicationIdentifier
- The ID of the application within which the route is being created.public void setClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public String getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public CreateRouteRequest withClientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public void setDefaultRoute(DefaultRouteInput defaultRoute)
Configuration for the default route type.
defaultRoute
- Configuration for the default route type.public DefaultRouteInput getDefaultRoute()
Configuration for the default route type.
public CreateRouteRequest withDefaultRoute(DefaultRouteInput defaultRoute)
Configuration for the default route type.
defaultRoute
- Configuration for the default route type.public void setEnvironmentIdentifier(String environmentIdentifier)
The ID of the environment in which the route is created.
environmentIdentifier
- The ID of the environment in which the route is created.public String getEnvironmentIdentifier()
The ID of the environment in which the route is created.
public CreateRouteRequest withEnvironmentIdentifier(String environmentIdentifier)
The ID of the environment in which the route is created.
environmentIdentifier
- The ID of the environment in which the route is created.public void setRouteType(String routeType)
The route type of the route. DEFAULT
indicates that all traffic that does not match another route is
forwarded to the default route. Applications must have a default route before any other routes can be created.
URI_PATH
indicates a route that is based on a URI path.
routeType
- The route type of the route. DEFAULT
indicates that all traffic that does not match another
route is forwarded to the default route. Applications must have a default route before any other routes
can be created. URI_PATH
indicates a route that is based on a URI path.RouteType
public String getRouteType()
The route type of the route. DEFAULT
indicates that all traffic that does not match another route is
forwarded to the default route. Applications must have a default route before any other routes can be created.
URI_PATH
indicates a route that is based on a URI path.
DEFAULT
indicates that all traffic that does not match another
route is forwarded to the default route. Applications must have a default route before any other routes
can be created. URI_PATH
indicates a route that is based on a URI path.RouteType
public CreateRouteRequest withRouteType(String routeType)
The route type of the route. DEFAULT
indicates that all traffic that does not match another route is
forwarded to the default route. Applications must have a default route before any other routes can be created.
URI_PATH
indicates a route that is based on a URI path.
routeType
- The route type of the route. DEFAULT
indicates that all traffic that does not match another
route is forwarded to the default route. Applications must have a default route before any other routes
can be created. URI_PATH
indicates a route that is based on a URI path.RouteType
public CreateRouteRequest withRouteType(RouteType routeType)
The route type of the route. DEFAULT
indicates that all traffic that does not match another route is
forwarded to the default route. Applications must have a default route before any other routes can be created.
URI_PATH
indicates a route that is based on a URI path.
routeType
- The route type of the route. DEFAULT
indicates that all traffic that does not match another
route is forwarded to the default route. Applications must have a default route before any other routes
can be created. URI_PATH
indicates a route that is based on a URI path.RouteType
public void setServiceIdentifier(String serviceIdentifier)
The ID of the service in which the route is created. Traffic that matches this route is forwarded to this service.
serviceIdentifier
- The ID of the service in which the route is created. Traffic that matches this route is forwarded to this
service.public String getServiceIdentifier()
The ID of the service in which the route is created. Traffic that matches this route is forwarded to this service.
public CreateRouteRequest withServiceIdentifier(String serviceIdentifier)
The ID of the service in which the route is created. Traffic that matches this route is forwarded to this service.
serviceIdentifier
- The ID of the service in which the route is created. Traffic that matches this route is forwarded to this
service.public Map<String,String> getTags()
The tags to assign to the route. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair..
public void setTags(Map<String,String> tags)
The tags to assign to the route. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair..
tags
- The tags to assign to the route. A tag is a label that you assign to an Amazon Web Services resource. Each
tag consists of a key-value pair..public CreateRouteRequest withTags(Map<String,String> tags)
The tags to assign to the route. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair..
tags
- The tags to assign to the route. A tag is a label that you assign to an Amazon Web Services resource. Each
tag consists of a key-value pair..public CreateRouteRequest addTagsEntry(String key, String value)
public CreateRouteRequest clearTagsEntries()
public void setUriPathRoute(UriPathRouteInput uriPathRoute)
The configuration for the URI path route type.
uriPathRoute
- The configuration for the URI path route type.public UriPathRouteInput getUriPathRoute()
The configuration for the URI path route type.
public CreateRouteRequest withUriPathRoute(UriPathRouteInput uriPathRoute)
The configuration for the URI path route type.
uriPathRoute
- The configuration for the URI path route type.public String toString()
toString
in class Object
Object.toString()
public CreateRouteRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()