@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRouteResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateRouteResult() |
Modifier and Type | Method and Description |
---|---|
CreateRouteResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateRouteResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateRouteResult |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationId()
The ID of the application in which the route is created.
|
String |
getArn()
The Amazon Resource Name (ARN) of the route.
|
String |
getCreatedByAccountId()
The Amazon Web Services account ID of the route creator.
|
Date |
getCreatedTime()
A timestamp that indicates when the route is created.
|
Date |
getLastUpdatedTime()
A timestamp that indicates when the route was last updated.
|
String |
getOwnerAccountId()
The Amazon Web Services account ID of the route owner.
|
String |
getRouteId()
The unique identifier of the route.
|
String |
getRouteType()
The route type of the route.
|
String |
getServiceId()
The ID of service in which the route is created.
|
String |
getState()
The current state of the route.
|
Map<String,String> |
getTags()
The tags assigned to the created route.
|
UriPathRouteInput |
getUriPathRoute()
Configuration for the URI path route type.
|
int |
hashCode() |
void |
setApplicationId(String applicationId)
The ID of the application in which the route is created.
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the route.
|
void |
setCreatedByAccountId(String createdByAccountId)
The Amazon Web Services account ID of the route creator.
|
void |
setCreatedTime(Date createdTime)
A timestamp that indicates when the route is created.
|
void |
setLastUpdatedTime(Date lastUpdatedTime)
A timestamp that indicates when the route was last updated.
|
void |
setOwnerAccountId(String ownerAccountId)
The Amazon Web Services account ID of the route owner.
|
void |
setRouteId(String routeId)
The unique identifier of the route.
|
void |
setRouteType(String routeType)
The route type of the route.
|
void |
setServiceId(String serviceId)
The ID of service in which the route is created.
|
void |
setState(String state)
The current state of the route.
|
void |
setTags(Map<String,String> tags)
The tags assigned to the created route.
|
void |
setUriPathRoute(UriPathRouteInput uriPathRoute)
Configuration for the URI path route type.
|
String |
toString()
Returns a string representation of this object.
|
CreateRouteResult |
withApplicationId(String applicationId)
The ID of the application in which the route is created.
|
CreateRouteResult |
withArn(String arn)
The Amazon Resource Name (ARN) of the route.
|
CreateRouteResult |
withCreatedByAccountId(String createdByAccountId)
The Amazon Web Services account ID of the route creator.
|
CreateRouteResult |
withCreatedTime(Date createdTime)
A timestamp that indicates when the route is created.
|
CreateRouteResult |
withLastUpdatedTime(Date lastUpdatedTime)
A timestamp that indicates when the route was last updated.
|
CreateRouteResult |
withOwnerAccountId(String ownerAccountId)
The Amazon Web Services account ID of the route owner.
|
CreateRouteResult |
withRouteId(String routeId)
The unique identifier of the route.
|
CreateRouteResult |
withRouteType(RouteType routeType)
The route type of the route.
|
CreateRouteResult |
withRouteType(String routeType)
The route type of the route.
|
CreateRouteResult |
withServiceId(String serviceId)
The ID of service in which the route is created.
|
CreateRouteResult |
withState(RouteState state)
The current state of the route.
|
CreateRouteResult |
withState(String state)
The current state of the route.
|
CreateRouteResult |
withTags(Map<String,String> tags)
The tags assigned to the created route.
|
CreateRouteResult |
withUriPathRoute(UriPathRouteInput uriPathRoute)
Configuration for the URI path route type.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setApplicationId(String applicationId)
The ID of the application in which the route is created.
applicationId
- The ID of the application in which the route is created.public String getApplicationId()
The ID of the application in which the route is created.
public CreateRouteResult withApplicationId(String applicationId)
The ID of the application in which the route is created.
applicationId
- The ID of the application in which the route is created.public void setArn(String arn)
The Amazon Resource Name (ARN) of the route. The format for this ARN is
arn:aws:refactor-spaces:region:account-id:resource-type/resource-id
. For more
information about ARNs, see
Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
arn
- The Amazon Resource Name (ARN) of the route. The format for this ARN is
arn:aws:refactor-spaces:region:account-id:resource-type/resource-id
.
For more information about ARNs, see Amazon Resource Names
(ARNs) in the Amazon Web Services General Reference.public String getArn()
The Amazon Resource Name (ARN) of the route. The format for this ARN is
arn:aws:refactor-spaces:region:account-id:resource-type/resource-id
. For more
information about ARNs, see
Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
arn:aws:refactor-spaces:region:account-id:resource-type/resource-id
.
For more information about ARNs, see Amazon Resource Names
(ARNs) in the Amazon Web Services General Reference.public CreateRouteResult withArn(String arn)
The Amazon Resource Name (ARN) of the route. The format for this ARN is
arn:aws:refactor-spaces:region:account-id:resource-type/resource-id
. For more
information about ARNs, see
Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
arn
- The Amazon Resource Name (ARN) of the route. The format for this ARN is
arn:aws:refactor-spaces:region:account-id:resource-type/resource-id
.
For more information about ARNs, see Amazon Resource Names
(ARNs) in the Amazon Web Services General Reference.public void setCreatedByAccountId(String createdByAccountId)
The Amazon Web Services account ID of the route creator.
createdByAccountId
- The Amazon Web Services account ID of the route creator.public String getCreatedByAccountId()
The Amazon Web Services account ID of the route creator.
public CreateRouteResult withCreatedByAccountId(String createdByAccountId)
The Amazon Web Services account ID of the route creator.
createdByAccountId
- The Amazon Web Services account ID of the route creator.public void setCreatedTime(Date createdTime)
A timestamp that indicates when the route is created.
createdTime
- A timestamp that indicates when the route is created.public Date getCreatedTime()
A timestamp that indicates when the route is created.
public CreateRouteResult withCreatedTime(Date createdTime)
A timestamp that indicates when the route is created.
createdTime
- A timestamp that indicates when the route is created.public void setLastUpdatedTime(Date lastUpdatedTime)
A timestamp that indicates when the route was last updated.
lastUpdatedTime
- A timestamp that indicates when the route was last updated.public Date getLastUpdatedTime()
A timestamp that indicates when the route was last updated.
public CreateRouteResult withLastUpdatedTime(Date lastUpdatedTime)
A timestamp that indicates when the route was last updated.
lastUpdatedTime
- A timestamp that indicates when the route was last updated.public void setOwnerAccountId(String ownerAccountId)
The Amazon Web Services account ID of the route owner.
ownerAccountId
- The Amazon Web Services account ID of the route owner.public String getOwnerAccountId()
The Amazon Web Services account ID of the route owner.
public CreateRouteResult withOwnerAccountId(String ownerAccountId)
The Amazon Web Services account ID of the route owner.
ownerAccountId
- The Amazon Web Services account ID of the route owner.public void setRouteId(String routeId)
The unique identifier of the route.
routeId
- The unique identifier of the route.public String getRouteId()
The unique identifier of the route.
public CreateRouteResult withRouteId(String routeId)
The unique identifier of the route.
routeId
- The unique identifier of the route.public void setRouteType(String routeType)
The route type of the route.
routeType
- The route type of the route.RouteType
public String getRouteType()
The route type of the route.
RouteType
public CreateRouteResult withRouteType(String routeType)
The route type of the route.
routeType
- The route type of the route.RouteType
public CreateRouteResult withRouteType(RouteType routeType)
The route type of the route.
routeType
- The route type of the route.RouteType
public void setServiceId(String serviceId)
The ID of service in which the route is created. Traffic that matches this route is forwarded to this service.
serviceId
- The ID of service in which the route is created. Traffic that matches this route is forwarded to this
service.public String getServiceId()
The ID of service in which the route is created. Traffic that matches this route is forwarded to this service.
public CreateRouteResult withServiceId(String serviceId)
The ID of service in which the route is created. Traffic that matches this route is forwarded to this service.
serviceId
- The ID of service in which the route is created. Traffic that matches this route is forwarded to this
service.public void setState(String state)
The current state of the route. Activation state only allows ACTIVE
or INACTIVE
as user
inputs. FAILED
is a route state that is system generated.
state
- The current state of the route. Activation state only allows ACTIVE
or INACTIVE
as user inputs. FAILED
is a route state that is system generated.RouteState
public String getState()
The current state of the route. Activation state only allows ACTIVE
or INACTIVE
as user
inputs. FAILED
is a route state that is system generated.
ACTIVE
or INACTIVE
as user inputs. FAILED
is a route state that is system generated.RouteState
public CreateRouteResult withState(String state)
The current state of the route. Activation state only allows ACTIVE
or INACTIVE
as user
inputs. FAILED
is a route state that is system generated.
state
- The current state of the route. Activation state only allows ACTIVE
or INACTIVE
as user inputs. FAILED
is a route state that is system generated.RouteState
public CreateRouteResult withState(RouteState state)
The current state of the route. Activation state only allows ACTIVE
or INACTIVE
as user
inputs. FAILED
is a route state that is system generated.
state
- The current state of the route. Activation state only allows ACTIVE
or INACTIVE
as user inputs. FAILED
is a route state that is system generated.RouteState
public Map<String,String> getTags()
The tags assigned to the created 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 assigned to the created 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 assigned to the created route. A tag is a label that you assign to an Amazon Web Services
resource. Each tag consists of a key-value pair.public CreateRouteResult withTags(Map<String,String> tags)
The tags assigned to the created 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 assigned to the created route. A tag is a label that you assign to an Amazon Web Services
resource. Each tag consists of a key-value pair.public CreateRouteResult addTagsEntry(String key, String value)
public CreateRouteResult clearTagsEntries()
public void setUriPathRoute(UriPathRouteInput uriPathRoute)
Configuration for the URI path route type.
uriPathRoute
- Configuration for the URI path route type.public UriPathRouteInput getUriPathRoute()
Configuration for the URI path route type.
public CreateRouteResult withUriPathRoute(UriPathRouteInput uriPathRoute)
Configuration for the URI path route type.
uriPathRoute
- Configuration for the URI path route type.public String toString()
toString
in class Object
Object.toString()
public CreateRouteResult clone()