public class CreateAliasRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input for a request action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
description
Human-readable description of the alias.
|
private java.lang.String |
name
Descriptive label associated with this alias.
|
private RoutingStrategy |
routingStrategy
Object specifying the fleet and routing type to use for the alias.
|
NOOP
Constructor and Description |
---|
CreateAliasRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAliasRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription()
Human-readable description of the alias.
|
java.lang.String |
getName()
Descriptive label associated with this alias.
|
RoutingStrategy |
getRoutingStrategy()
Object specifying the fleet and routing type to use for the alias.
|
int |
hashCode() |
void |
setDescription(java.lang.String description)
Human-readable description of the alias.
|
void |
setName(java.lang.String name)
Descriptive label associated with this alias.
|
void |
setRoutingStrategy(RoutingStrategy routingStrategy)
Object specifying the fleet and routing type to use for the alias.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateAliasRequest |
withDescription(java.lang.String description)
Human-readable description of the alias.
|
CreateAliasRequest |
withName(java.lang.String name)
Descriptive label associated with this alias.
|
CreateAliasRequest |
withRoutingStrategy(RoutingStrategy routingStrategy)
Object specifying the fleet and routing type to use for the alias.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String name
Descriptive label associated with this alias. Alias names do not need to be unique.
private java.lang.String description
Human-readable description of the alias.
private RoutingStrategy routingStrategy
Object specifying the fleet and routing type to use for the alias.
public void setName(java.lang.String name)
Descriptive label associated with this alias. Alias names do not need to be unique.
name
- Descriptive label associated with this alias. Alias names do not
need to be unique.public java.lang.String getName()
Descriptive label associated with this alias. Alias names do not need to be unique.
public CreateAliasRequest withName(java.lang.String name)
Descriptive label associated with this alias. Alias names do not need to be unique.
name
- Descriptive label associated with this alias. Alias names do not
need to be unique.public void setDescription(java.lang.String description)
Human-readable description of the alias.
description
- Human-readable description of the alias.public java.lang.String getDescription()
Human-readable description of the alias.
public CreateAliasRequest withDescription(java.lang.String description)
Human-readable description of the alias.
description
- Human-readable description of the alias.public void setRoutingStrategy(RoutingStrategy routingStrategy)
Object specifying the fleet and routing type to use for the alias.
routingStrategy
- Object specifying the fleet and routing type to use for the alias.public RoutingStrategy getRoutingStrategy()
Object specifying the fleet and routing type to use for the alias.
public CreateAliasRequest withRoutingStrategy(RoutingStrategy routingStrategy)
Object specifying the fleet and routing type to use for the alias.
routingStrategy
- Object specifying the fleet and routing type to use for the alias.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateAliasRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()