@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, or null if there are no more results.
|
String |
getRequestId()
The Amazon Web Services request ID for this operation.
|
Integer |
getStatus()
The HTTP status of the request.
|
List<TemplateSummary> |
getTemplateSummaryList()
A structure containing information about the templates in the list.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token for the next set of results, or null if there are no more results.
|
void |
setRequestId(String requestId)
The Amazon Web Services request ID for this operation.
|
void |
setStatus(Integer status)
The HTTP status of the request.
|
void |
setTemplateSummaryList(Collection<TemplateSummary> templateSummaryList)
A structure containing information about the templates in the list.
|
String |
toString()
Returns a string representation of this object.
|
ListTemplatesResult |
withNextToken(String nextToken)
The token for the next set of results, or null if there are no more results.
|
ListTemplatesResult |
withRequestId(String requestId)
The Amazon Web Services request ID for this operation.
|
ListTemplatesResult |
withStatus(Integer status)
The HTTP status of the request.
|
ListTemplatesResult |
withTemplateSummaryList(Collection<TemplateSummary> templateSummaryList)
A structure containing information about the templates in the list.
|
ListTemplatesResult |
withTemplateSummaryList(TemplateSummary... templateSummaryList)
A structure containing information about the templates in the list.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<TemplateSummary> getTemplateSummaryList()
A structure containing information about the templates in the list.
public void setTemplateSummaryList(Collection<TemplateSummary> templateSummaryList)
A structure containing information about the templates in the list.
templateSummaryList
- A structure containing information about the templates in the list.public ListTemplatesResult withTemplateSummaryList(TemplateSummary... templateSummaryList)
A structure containing information about the templates in the list.
NOTE: This method appends the values to the existing list (if any). Use
setTemplateSummaryList(java.util.Collection)
or withTemplateSummaryList(java.util.Collection)
if you want to override the existing values.
templateSummaryList
- A structure containing information about the templates in the list.public ListTemplatesResult withTemplateSummaryList(Collection<TemplateSummary> templateSummaryList)
A structure containing information about the templates in the list.
templateSummaryList
- A structure containing information about the templates in the list.public void setNextToken(String nextToken)
The token for the next set of results, or null if there are no more results.
nextToken
- The token for the next set of results, or null if there are no more results.public String getNextToken()
The token for the next set of results, or null if there are no more results.
public ListTemplatesResult withNextToken(String nextToken)
The token for the next set of results, or null if there are no more results.
nextToken
- The token for the next set of results, or null if there are no more results.public void setStatus(Integer status)
The HTTP status of the request.
status
- The HTTP status of the request.public Integer getStatus()
The HTTP status of the request.
public ListTemplatesResult withStatus(Integer status)
The HTTP status of the request.
status
- The HTTP status of the request.public void setRequestId(String requestId)
The Amazon Web Services request ID for this operation.
requestId
- The Amazon Web Services request ID for this operation.public String getRequestId()
The Amazon Web Services request ID for this operation.
public ListTemplatesResult withRequestId(String requestId)
The Amazon Web Services request ID for this operation.
requestId
- The Amazon Web Services request ID for this operation.public String toString()
toString
in class Object
Object.toString()
public ListTemplatesResult clone()