@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTemplatesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListTemplatesResult() |
Modifier and Type | Method and Description |
---|---|
ListTemplatesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token for the next set of results.
|
List<TemplateSummary> |
getTemplates()
List of template summary objects.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token for the next set of results.
|
void |
setTemplates(Collection<TemplateSummary> templates)
List of template summary objects.
|
String |
toString()
Returns a string representation of this object.
|
ListTemplatesResult |
withNextToken(String nextToken)
The token for the next set of results.
|
ListTemplatesResult |
withTemplates(Collection<TemplateSummary> templates)
List of template summary objects.
|
ListTemplatesResult |
withTemplates(TemplateSummary... templates)
List of template summary objects.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The token for the next set of results. This is null if there are no more results to return.
nextToken
- The token for the next set of results. This is null if there are no more results to return.public String getNextToken()
The token for the next set of results. This is null if there are no more results to return.
public ListTemplatesResult withNextToken(String nextToken)
The token for the next set of results. This is null if there are no more results to return.
nextToken
- The token for the next set of results. This is null if there are no more results to return.public List<TemplateSummary> getTemplates()
List of template summary objects.
public void setTemplates(Collection<TemplateSummary> templates)
List of template summary objects.
templates
- List of template summary objects.public ListTemplatesResult withTemplates(TemplateSummary... templates)
List of template summary objects.
NOTE: This method appends the values to the existing list (if any). Use
setTemplates(java.util.Collection)
or withTemplates(java.util.Collection)
if you want to
override the existing values.
templates
- List of template summary objects.public ListTemplatesResult withTemplates(Collection<TemplateSummary> templates)
List of template summary objects.
templates
- List of template summary objects.public String toString()
toString
in class Object
Object.toString()
public ListTemplatesResult clone()