@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListGameServerGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListGameServerGroupsResult() |
Modifier and Type | Method and Description |
---|---|
ListGameServerGroupsResult |
clone() |
boolean |
equals(Object obj) |
List<GameServerGroup> |
getGameServerGroups()
A collection of game server group objects that match the request.
|
String |
getNextToken()
A token that indicates where to resume retrieving results on the next call to this operation.
|
int |
hashCode() |
void |
setGameServerGroups(Collection<GameServerGroup> gameServerGroups)
A collection of game server group objects that match the request.
|
void |
setNextToken(String nextToken)
A token that indicates where to resume retrieving results on the next call to this operation.
|
String |
toString()
Returns a string representation of this object.
|
ListGameServerGroupsResult |
withGameServerGroups(Collection<GameServerGroup> gameServerGroups)
A collection of game server group objects that match the request.
|
ListGameServerGroupsResult |
withGameServerGroups(GameServerGroup... gameServerGroups)
A collection of game server group objects that match the request.
|
ListGameServerGroupsResult |
withNextToken(String nextToken)
A token that indicates where to resume retrieving results on the next call to this operation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<GameServerGroup> getGameServerGroups()
A collection of game server group objects that match the request.
public void setGameServerGroups(Collection<GameServerGroup> gameServerGroups)
A collection of game server group objects that match the request.
gameServerGroups
- A collection of game server group objects that match the request.public ListGameServerGroupsResult withGameServerGroups(GameServerGroup... gameServerGroups)
A collection of game server group objects that match the request.
NOTE: This method appends the values to the existing list (if any). Use
setGameServerGroups(java.util.Collection)
or withGameServerGroups(java.util.Collection)
if you
want to override the existing values.
gameServerGroups
- A collection of game server group objects that match the request.public ListGameServerGroupsResult withGameServerGroups(Collection<GameServerGroup> gameServerGroups)
A collection of game server group objects that match the request.
gameServerGroups
- A collection of game server group objects that match the request.public void setNextToken(String nextToken)
A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
nextToken
- A token that indicates where to resume retrieving results on the next call to this operation. If no token
is returned, these results represent the end of the list.public String getNextToken()
A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
public ListGameServerGroupsResult withNextToken(String nextToken)
A token that indicates where to resume retrieving results on the next call to this operation. If no token is returned, these results represent the end of the list.
nextToken
- A token that indicates where to resume retrieving results on the next call to this operation. If no token
is returned, these results represent the end of the list.public String toString()
toString
in class Object
Object.toString()
public ListGameServerGroupsResult clone()