@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateStageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateStageRequest() |
Modifier and Type | Method and Description |
---|---|
CreateStageRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateStageRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateStageRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A client-defined token.
|
String |
getDescription()
The description of the stage.
|
String |
getGameName()
The name of the game.
|
String |
getRole()
The Amazon Resource Name (ARN) of the role to run the game with.
|
String |
getStageName()
The name of the stage.
|
Map<String,String> |
getTags()
The list of tags to apply to the stage.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A client-defined token.
|
void |
setDescription(String description)
The description of the stage.
|
void |
setGameName(String gameName)
The name of the game.
|
void |
setRole(String role)
The Amazon Resource Name (ARN) of the role to run the game with.
|
void |
setStageName(String stageName)
The name of the stage.
|
void |
setTags(Map<String,String> tags)
The list of tags to apply to the stage.
|
String |
toString()
Returns a string representation of this object.
|
CreateStageRequest |
withClientToken(String clientToken)
A client-defined token.
|
CreateStageRequest |
withDescription(String description)
The description of the stage.
|
CreateStageRequest |
withGameName(String gameName)
The name of the game.
|
CreateStageRequest |
withRole(String role)
The Amazon Resource Name (ARN) of the role to run the game with.
|
CreateStageRequest |
withStageName(String stageName)
The name of the stage.
|
CreateStageRequest |
withTags(Map<String,String> tags)
The list of tags to apply to the stage.
|
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 setClientToken(String clientToken)
A client-defined token. With an active client token in the request, this action is idempotent.
clientToken
- A client-defined token. With an active client token in the request, this action is idempotent.public String getClientToken()
A client-defined token. With an active client token in the request, this action is idempotent.
public CreateStageRequest withClientToken(String clientToken)
A client-defined token. With an active client token in the request, this action is idempotent.
clientToken
- A client-defined token. With an active client token in the request, this action is idempotent.public void setDescription(String description)
The description of the stage.
description
- The description of the stage.public String getDescription()
The description of the stage.
public CreateStageRequest withDescription(String description)
The description of the stage.
description
- The description of the stage.public void setGameName(String gameName)
The name of the game.
gameName
- The name of the game.public String getGameName()
The name of the game.
public CreateStageRequest withGameName(String gameName)
The name of the game.
gameName
- The name of the game.public void setRole(String role)
The Amazon Resource Name (ARN) of the role to run the game with. This role can be a game-defined role or the default role that GameSparks created.
role
- The Amazon Resource Name (ARN) of the role to run the game with. This role can be a game-defined role or
the default role that GameSparks created.public String getRole()
The Amazon Resource Name (ARN) of the role to run the game with. This role can be a game-defined role or the default role that GameSparks created.
public CreateStageRequest withRole(String role)
The Amazon Resource Name (ARN) of the role to run the game with. This role can be a game-defined role or the default role that GameSparks created.
role
- The Amazon Resource Name (ARN) of the role to run the game with. This role can be a game-defined role or
the default role that GameSparks created.public void setStageName(String stageName)
The name of the stage.
stageName
- The name of the stage.public String getStageName()
The name of the stage.
public CreateStageRequest withStageName(String stageName)
The name of the stage.
stageName
- The name of the stage.public Map<String,String> getTags()
The list of tags to apply to the stage.
public void setTags(Map<String,String> tags)
The list of tags to apply to the stage.
tags
- The list of tags to apply to the stage.public CreateStageRequest withTags(Map<String,String> tags)
The list of tags to apply to the stage.
tags
- The list of tags to apply to the stage.public CreateStageRequest addTagsEntry(String key, String value)
public CreateStageRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateStageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()