@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 pagination token.
|
List<TemplateSummary> |
getTemplateSummary()
The summary of the template.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The pagination token.
|
void |
setTemplateSummary(Collection<TemplateSummary> templateSummary)
The summary of the template.
|
String |
toString()
Returns a string representation of this object.
|
ListTemplatesResult |
withNextToken(String nextToken)
The pagination token.
|
ListTemplatesResult |
withTemplateSummary(Collection<TemplateSummary> templateSummary)
The summary of the template.
|
ListTemplatesResult |
withTemplateSummary(TemplateSummary... templateSummary)
The summary of the template.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The pagination token.
nextToken
- The pagination token.public String getNextToken()
The pagination token.
public ListTemplatesResult withNextToken(String nextToken)
The pagination token.
nextToken
- The pagination token.public List<TemplateSummary> getTemplateSummary()
The summary of the template.
public void setTemplateSummary(Collection<TemplateSummary> templateSummary)
The summary of the template.
templateSummary
- The summary of the template.public ListTemplatesResult withTemplateSummary(TemplateSummary... templateSummary)
The summary of the template.
NOTE: This method appends the values to the existing list (if any). Use
setTemplateSummary(java.util.Collection)
or withTemplateSummary(java.util.Collection)
if you
want to override the existing values.
templateSummary
- The summary of the template.public ListTemplatesResult withTemplateSummary(Collection<TemplateSummary> templateSummary)
The summary of the template.
templateSummary
- The summary of the template.public String toString()
toString
in class Object
Object.toString()
public ListTemplatesResult clone()