Class CreateAliasRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.gamelift.model.CreateAliasRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class CreateAliasRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for a request action.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CreateAliasRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateAliasRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getDescription()
Human-readable description of the alias.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(String description)
Human-readable description of the alias.void
setName(String name)
Descriptive label associated with this alias.void
setRoutingStrategy(RoutingStrategy routingStrategy)
Object specifying the fleet and routing type to use for the alias.String
toString()
Returns a string representation of this object; useful for testing and debugging.CreateAliasRequest
withDescription(String description)
Human-readable description of the alias.CreateAliasRequest
withName(String name)
Descriptive label associated with this alias.CreateAliasRequest
withRoutingStrategy(RoutingStrategy routingStrategy)
Object specifying the fleet and routing type to use for the alias.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
setName
public void setName(String name)
Descriptive label associated with this alias. Alias names do not need to be unique.
- Parameters:
name
- Descriptive label associated with this alias. Alias names do not need to be unique.
-
getName
public String getName()
Descriptive label associated with this alias. Alias names do not need to be unique.
- Returns:
- Descriptive label associated with this alias. Alias names do not need to be unique.
-
withName
public CreateAliasRequest withName(String name)
Descriptive label associated with this alias. Alias names do not need to be unique.
- Parameters:
name
- Descriptive label associated with this alias. Alias names do not need to be unique.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
public void setDescription(String description)
Human-readable description of the alias.
- Parameters:
description
- Human-readable description of the alias.
-
getDescription
public String getDescription()
Human-readable description of the alias.
- Returns:
- Human-readable description of the alias.
-
withDescription
public CreateAliasRequest withDescription(String description)
Human-readable description of the alias.
- Parameters:
description
- Human-readable description of the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRoutingStrategy
public void setRoutingStrategy(RoutingStrategy routingStrategy)
Object specifying the fleet and routing type to use for the alias.
- Parameters:
routingStrategy
- Object specifying the fleet and routing type to use for the alias.
-
getRoutingStrategy
public RoutingStrategy getRoutingStrategy()
Object specifying the fleet and routing type to use for the alias.
- Returns:
- Object specifying the fleet and routing type to use for the alias.
-
withRoutingStrategy
public CreateAliasRequest withRoutingStrategy(RoutingStrategy routingStrategy)
Object specifying the fleet and routing type to use for the alias.
- Parameters:
routingStrategy
- Object specifying the fleet and routing type to use for the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateAliasRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-