@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeGameServerInstancesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeGameServerInstancesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeGameServerInstancesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getGameServerGroupName()
A unique identifier for the game server group.
|
List<String> |
getInstanceIds()
The EC2 instance IDs that you want to retrieve status on.
|
Integer |
getLimit()
The maximum number of results to return.
|
String |
getNextToken()
A token that indicates the start of the next sequential segment of results.
|
int |
hashCode() |
void |
setGameServerGroupName(String gameServerGroupName)
A unique identifier for the game server group.
|
void |
setInstanceIds(Collection<String> instanceIds)
The EC2 instance IDs that you want to retrieve status on.
|
void |
setLimit(Integer limit)
The maximum number of results to return.
|
void |
setNextToken(String nextToken)
A token that indicates the start of the next sequential segment of results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeGameServerInstancesRequest |
withGameServerGroupName(String gameServerGroupName)
A unique identifier for the game server group.
|
DescribeGameServerInstancesRequest |
withInstanceIds(Collection<String> instanceIds)
The EC2 instance IDs that you want to retrieve status on.
|
DescribeGameServerInstancesRequest |
withInstanceIds(String... instanceIds)
The EC2 instance IDs that you want to retrieve status on.
|
DescribeGameServerInstancesRequest |
withLimit(Integer limit)
The maximum number of results to return.
|
DescribeGameServerInstancesRequest |
withNextToken(String nextToken)
A token that indicates the start of the next sequential segment of results.
|
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 setGameServerGroupName(String gameServerGroupName)
A unique identifier for the game server group. Use either the GameServerGroup name or ARN value.
gameServerGroupName
- A unique identifier for the game server group. Use either the GameServerGroup name or ARN value.public String getGameServerGroupName()
A unique identifier for the game server group. Use either the GameServerGroup name or ARN value.
public DescribeGameServerInstancesRequest withGameServerGroupName(String gameServerGroupName)
A unique identifier for the game server group. Use either the GameServerGroup name or ARN value.
gameServerGroupName
- A unique identifier for the game server group. Use either the GameServerGroup name or ARN value.public List<String> getInstanceIds()
The EC2 instance IDs that you want to retrieve status on. EC2 instance IDs use a 17-character format, for
example: i-1234567890abcdef0
. To retrieve all instances in the game server group, leave this
parameter empty.
i-1234567890abcdef0
. To retrieve all instances in the game server group, leave this
parameter empty.public void setInstanceIds(Collection<String> instanceIds)
The EC2 instance IDs that you want to retrieve status on. EC2 instance IDs use a 17-character format, for
example: i-1234567890abcdef0
. To retrieve all instances in the game server group, leave this
parameter empty.
instanceIds
- The EC2 instance IDs that you want to retrieve status on. EC2 instance IDs use a 17-character format, for
example: i-1234567890abcdef0
. To retrieve all instances in the game server group, leave this
parameter empty.public DescribeGameServerInstancesRequest withInstanceIds(String... instanceIds)
The EC2 instance IDs that you want to retrieve status on. EC2 instance IDs use a 17-character format, for
example: i-1234567890abcdef0
. To retrieve all instances in the game server group, leave this
parameter empty.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceIds(java.util.Collection)
or withInstanceIds(java.util.Collection)
if you want to
override the existing values.
instanceIds
- The EC2 instance IDs that you want to retrieve status on. EC2 instance IDs use a 17-character format, for
example: i-1234567890abcdef0
. To retrieve all instances in the game server group, leave this
parameter empty.public DescribeGameServerInstancesRequest withInstanceIds(Collection<String> instanceIds)
The EC2 instance IDs that you want to retrieve status on. EC2 instance IDs use a 17-character format, for
example: i-1234567890abcdef0
. To retrieve all instances in the game server group, leave this
parameter empty.
instanceIds
- The EC2 instance IDs that you want to retrieve status on. EC2 instance IDs use a 17-character format, for
example: i-1234567890abcdef0
. To retrieve all instances in the game server group, leave this
parameter empty.public void setLimit(Integer limit)
The maximum number of results to return. Use this parameter with NextToken
to get results as a set
of sequential segments.
limit
- The maximum number of results to return. Use this parameter with NextToken
to get results as
a set of sequential segments.public Integer getLimit()
The maximum number of results to return. Use this parameter with NextToken
to get results as a set
of sequential segments.
NextToken
to get results as
a set of sequential segments.public DescribeGameServerInstancesRequest withLimit(Integer limit)
The maximum number of results to return. Use this parameter with NextToken
to get results as a set
of sequential segments.
limit
- The maximum number of results to return. Use this parameter with NextToken
to get results as
a set of sequential segments.public void setNextToken(String nextToken)
A token that indicates the start of the next sequential segment of results. Use the token returned with the previous call to this operation. To start at the beginning of the result set, do not specify a value.
nextToken
- A token that indicates the start of the next sequential segment of results. Use the token returned with
the previous call to this operation. To start at the beginning of the result set, do not specify a value.public String getNextToken()
A token that indicates the start of the next sequential segment of results. Use the token returned with the previous call to this operation. To start at the beginning of the result set, do not specify a value.
public DescribeGameServerInstancesRequest withNextToken(String nextToken)
A token that indicates the start of the next sequential segment of results. Use the token returned with the previous call to this operation. To start at the beginning of the result set, do not specify a value.
nextToken
- A token that indicates the start of the next sequential segment of results. Use the token returned with
the previous call to this operation. To start at the beginning of the result set, do not specify a value.public String toString()
toString
in class Object
Object.toString()
public DescribeGameServerInstancesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()