@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAliasRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for a request operation.
NOOP
Constructor and Description |
---|
CreateAliasRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAliasRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
A human-readable description of the alias.
|
String |
getName()
A descriptive label that is associated with an alias.
|
RoutingStrategy |
getRoutingStrategy()
The routing configuration, including routing type and fleet target, for the alias.
|
List<Tag> |
getTags()
A list of labels to assign to the new alias resource.
|
int |
hashCode() |
void |
setDescription(String description)
A human-readable description of the alias.
|
void |
setName(String name)
A descriptive label that is associated with an alias.
|
void |
setRoutingStrategy(RoutingStrategy routingStrategy)
The routing configuration, including routing type and fleet target, for the alias.
|
void |
setTags(Collection<Tag> tags)
A list of labels to assign to the new alias resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateAliasRequest |
withDescription(String description)
A human-readable description of the alias.
|
CreateAliasRequest |
withName(String name)
A descriptive label that is associated with an alias.
|
CreateAliasRequest |
withRoutingStrategy(RoutingStrategy routingStrategy)
The routing configuration, including routing type and fleet target, for the alias.
|
CreateAliasRequest |
withTags(Collection<Tag> tags)
A list of labels to assign to the new alias resource.
|
CreateAliasRequest |
withTags(Tag... tags)
A list of labels to assign to the new alias resource.
|
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 setName(String name)
A descriptive label that is associated with an alias. Alias names do not need to be unique.
name
- A descriptive label that is associated with an alias. Alias names do not need to be unique.public String getName()
A descriptive label that is associated with an alias. Alias names do not need to be unique.
public CreateAliasRequest withName(String name)
A descriptive label that is associated with an alias. Alias names do not need to be unique.
name
- A descriptive label that is associated with an alias. Alias names do not need to be unique.public void setDescription(String description)
A human-readable description of the alias.
description
- A human-readable description of the alias.public String getDescription()
A human-readable description of the alias.
public CreateAliasRequest withDescription(String description)
A human-readable description of the alias.
description
- A human-readable description of the alias.public void setRoutingStrategy(RoutingStrategy routingStrategy)
The routing configuration, including routing type and fleet target, for the alias.
routingStrategy
- The routing configuration, including routing type and fleet target, for the alias.public RoutingStrategy getRoutingStrategy()
The routing configuration, including routing type and fleet target, for the alias.
public CreateAliasRequest withRoutingStrategy(RoutingStrategy routingStrategy)
The routing configuration, including routing type and fleet target, for the alias.
routingStrategy
- The routing configuration, including routing type and fleet target, for the alias.public List<Tag> getTags()
A list of labels to assign to the new alias resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference. Once the resource is created, you can use TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags. The maximum tag limit may be lower than stated. See the Amazon Web Services General Reference for actual tagging limits.
public void setTags(Collection<Tag> tags)
A list of labels to assign to the new alias resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference. Once the resource is created, you can use TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags. The maximum tag limit may be lower than stated. See the Amazon Web Services General Reference for actual tagging limits.
tags
- A list of labels to assign to the new alias resource. Tags are developer-defined key-value pairs. Tagging
Amazon Web Services resources are useful for resource management, access management and cost allocation.
For more information, see
Tagging Amazon Web Services Resources in the Amazon Web Services General Reference. Once the
resource is created, you can use TagResource, UntagResource, and ListTagsForResource
to add, remove, and view tags. The maximum tag limit may be lower than stated. See the Amazon Web Services
General Reference for actual tagging limits.public CreateAliasRequest withTags(Tag... tags)
A list of labels to assign to the new alias resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference. Once the resource is created, you can use TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags. The maximum tag limit may be lower than stated. See the Amazon Web Services General Reference for actual tagging limits.
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
- A list of labels to assign to the new alias resource. Tags are developer-defined key-value pairs. Tagging
Amazon Web Services resources are useful for resource management, access management and cost allocation.
For more information, see
Tagging Amazon Web Services Resources in the Amazon Web Services General Reference. Once the
resource is created, you can use TagResource, UntagResource, and ListTagsForResource
to add, remove, and view tags. The maximum tag limit may be lower than stated. See the Amazon Web Services
General Reference for actual tagging limits.public CreateAliasRequest withTags(Collection<Tag> tags)
A list of labels to assign to the new alias resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference. Once the resource is created, you can use TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags. The maximum tag limit may be lower than stated. See the Amazon Web Services General Reference for actual tagging limits.
tags
- A list of labels to assign to the new alias resource. Tags are developer-defined key-value pairs. Tagging
Amazon Web Services resources are useful for resource management, access management and cost allocation.
For more information, see
Tagging Amazon Web Services Resources in the Amazon Web Services General Reference. Once the
resource is created, you can use TagResource, UntagResource, and ListTagsForResource
to add, remove, and view tags. The maximum tag limit may be lower than stated. See the Amazon Web Services
General Reference for actual tagging limits.public String toString()
toString
in class Object
Object.toString()
public CreateAliasRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()