@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListWorldTemplatesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListWorldTemplatesResult() |
Modifier and Type | Method and Description |
---|---|
ListWorldTemplatesResult |
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<TemplateSummary> |
getTemplateSummaries()
Summary information for templates.
|
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 |
setTemplateSummaries(Collection<TemplateSummary> templateSummaries)
Summary information for templates.
|
String |
toString()
Returns a string representation of this object.
|
ListWorldTemplatesResult |
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. |
ListWorldTemplatesResult |
withTemplateSummaries(Collection<TemplateSummary> templateSummaries)
Summary information for templates.
|
ListWorldTemplatesResult |
withTemplateSummaries(TemplateSummary... templateSummaries)
Summary information for templates.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<TemplateSummary> getTemplateSummaries()
Summary information for templates.
public void setTemplateSummaries(Collection<TemplateSummary> templateSummaries)
Summary information for templates.
templateSummaries
- Summary information for templates.public ListWorldTemplatesResult withTemplateSummaries(TemplateSummary... templateSummaries)
Summary information for templates.
NOTE: This method appends the values to the existing list (if any). Use
setTemplateSummaries(java.util.Collection)
or withTemplateSummaries(java.util.Collection)
if
you want to override the existing values.
templateSummaries
- Summary information for templates.public ListWorldTemplatesResult withTemplateSummaries(Collection<TemplateSummary> templateSummaries)
Summary information for templates.
templateSummaries
- Summary information for templates.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
ListWorldTemplates
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
ListWorldTemplates
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
ListWorldTemplates
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
ListWorldTemplates
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 ListWorldTemplatesResult 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
ListWorldTemplates
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
ListWorldTemplates
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 ListWorldTemplatesResult clone()