@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListWorldsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListWorldsResult() |
Modifier and Type | Method and Description |
---|---|
ListWorldsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If the previous paginated request did not return all of the remaining results, the response object's
nextToken parameter value is set to a token. |
List<WorldSummary> |
getWorldSummaries()
Summary information for worlds.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If the previous paginated request did not return all of the remaining results, the response object's
nextToken parameter value is set to a token. |
void |
setWorldSummaries(Collection<WorldSummary> worldSummaries)
Summary information for worlds.
|
String |
toString()
Returns a string representation of this object.
|
ListWorldsResult |
withNextToken(String nextToken)
If the previous paginated request did not return all of the remaining results, the response object's
nextToken parameter value is set to a token. |
ListWorldsResult |
withWorldSummaries(Collection<WorldSummary> worldSummaries)
Summary information for worlds.
|
ListWorldsResult |
withWorldSummaries(WorldSummary... worldSummaries)
Summary information for worlds.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<WorldSummary> getWorldSummaries()
Summary information for worlds.
public void setWorldSummaries(Collection<WorldSummary> worldSummaries)
Summary information for worlds.
worldSummaries
- Summary information for worlds.public ListWorldsResult withWorldSummaries(WorldSummary... worldSummaries)
Summary information for worlds.
NOTE: This method appends the values to the existing list (if any). Use
setWorldSummaries(java.util.Collection)
or withWorldSummaries(java.util.Collection)
if you want
to override the existing values.
worldSummaries
- Summary information for worlds.public ListWorldsResult withWorldSummaries(Collection<WorldSummary> worldSummaries)
Summary information for worlds.
worldSummaries
- Summary information for worlds.public void setNextToken(String nextToken)
If the previous paginated request did not return all of the remaining results, the response object's
nextToken
parameter value is set to a token. To retrieve the next set of results, call
ListWorlds
again and assign that token to the request object's nextToken
parameter. If
there are no remaining results, the previous response object's NextToken parameter is set to null.
nextToken
- If the previous paginated request did not return all of the remaining results, the response object's
nextToken
parameter value is set to a token. To retrieve the next set of results, call
ListWorlds
again and assign that token to the request object's nextToken
parameter. If there are no remaining results, the previous response object's NextToken parameter is set to
null.public String getNextToken()
If the previous paginated request did not return all of the remaining results, the response object's
nextToken
parameter value is set to a token. To retrieve the next set of results, call
ListWorlds
again and assign that token to the request object's nextToken
parameter. If
there are no remaining results, the previous response object's NextToken parameter is set to null.
nextToken
parameter value is set to a token. To retrieve the next set of results, call
ListWorlds
again and assign that token to the request object's nextToken
parameter. If there are no remaining results, the previous response object's NextToken parameter is set
to null.public ListWorldsResult withNextToken(String nextToken)
If the previous paginated request did not return all of the remaining results, the response object's
nextToken
parameter value is set to a token. To retrieve the next set of results, call
ListWorlds
again and assign that token to the request object's nextToken
parameter. If
there are no remaining results, the previous response object's NextToken parameter is set to null.
nextToken
- If the previous paginated request did not return all of the remaining results, the response object's
nextToken
parameter value is set to a token. To retrieve the next set of results, call
ListWorlds
again and assign that token to the request object's nextToken
parameter. If there are no remaining results, the previous response object's NextToken parameter is set to
null.public String toString()
toString
in class Object
Object.toString()
public ListWorldsResult clone()