@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetSnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetSnapshotRequest() |
Modifier and Type | Method and Description |
---|---|
GetSnapshotRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getGameName()
The name of the game.
|
List<String> |
getSections()
The list of game configuration sections to be described.
|
String |
getSnapshotId()
The identifier of the snapshot.
|
int |
hashCode() |
void |
setGameName(String gameName)
The name of the game.
|
void |
setSections(Collection<String> sections)
The list of game configuration sections to be described.
|
void |
setSnapshotId(String snapshotId)
The identifier of the snapshot.
|
String |
toString()
Returns a string representation of this object.
|
GetSnapshotRequest |
withGameName(String gameName)
The name of the game.
|
GetSnapshotRequest |
withSections(Collection<String> sections)
The list of game configuration sections to be described.
|
GetSnapshotRequest |
withSections(String... sections)
The list of game configuration sections to be described.
|
GetSnapshotRequest |
withSnapshotId(String snapshotId)
The identifier of the snapshot.
|
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 setGameName(String gameName)
The name of the game.
gameName
- The name of the game.public String getGameName()
The name of the game.
public GetSnapshotRequest withGameName(String gameName)
The name of the game.
gameName
- The name of the game.public List<String> getSections()
The list of game configuration sections to be described.
public void setSections(Collection<String> sections)
The list of game configuration sections to be described.
sections
- The list of game configuration sections to be described.public GetSnapshotRequest withSections(String... sections)
The list of game configuration sections to be described.
NOTE: This method appends the values to the existing list (if any). Use
setSections(java.util.Collection)
or withSections(java.util.Collection)
if you want to override
the existing values.
sections
- The list of game configuration sections to be described.public GetSnapshotRequest withSections(Collection<String> sections)
The list of game configuration sections to be described.
sections
- The list of game configuration sections to be described.public void setSnapshotId(String snapshotId)
The identifier of the snapshot.
snapshotId
- The identifier of the snapshot.public String getSnapshotId()
The identifier of the snapshot.
public GetSnapshotRequest withSnapshotId(String snapshotId)
The identifier of the snapshot.
snapshotId
- The identifier of the snapshot.public String toString()
toString
in class Object
Object.toString()
public GetSnapshotRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()