@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTemplateVersionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListTemplateVersionsResult() |
Modifier and Type | Method and Description |
---|---|
ListTemplateVersionsResult |
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<TemplateVersionSummary> |
getTemplateVersionSummaryList()
A structure containing a list of all the versions of the specified template.
|
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 |
setTemplateVersionSummaryList(Collection<TemplateVersionSummary> templateVersionSummaryList)
A structure containing a list of all the versions of the specified template.
|
String |
toString()
Returns a string representation of this object.
|
ListTemplateVersionsResult |
withNextToken(String nextToken)
The token for the next set of results, or null if there are no more results.
|
ListTemplateVersionsResult |
withRequestId(String requestId)
The Amazon Web Services request ID for this operation.
|
ListTemplateVersionsResult |
withStatus(Integer status)
The HTTP status of the request.
|
ListTemplateVersionsResult |
withTemplateVersionSummaryList(Collection<TemplateVersionSummary> templateVersionSummaryList)
A structure containing a list of all the versions of the specified template.
|
ListTemplateVersionsResult |
withTemplateVersionSummaryList(TemplateVersionSummary... templateVersionSummaryList)
A structure containing a list of all the versions of the specified template.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<TemplateVersionSummary> getTemplateVersionSummaryList()
A structure containing a list of all the versions of the specified template.
public void setTemplateVersionSummaryList(Collection<TemplateVersionSummary> templateVersionSummaryList)
A structure containing a list of all the versions of the specified template.
templateVersionSummaryList
- A structure containing a list of all the versions of the specified template.public ListTemplateVersionsResult withTemplateVersionSummaryList(TemplateVersionSummary... templateVersionSummaryList)
A structure containing a list of all the versions of the specified template.
NOTE: This method appends the values to the existing list (if any). Use
setTemplateVersionSummaryList(java.util.Collection)
or
withTemplateVersionSummaryList(java.util.Collection)
if you want to override the existing values.
templateVersionSummaryList
- A structure containing a list of all the versions of the specified template.public ListTemplateVersionsResult withTemplateVersionSummaryList(Collection<TemplateVersionSummary> templateVersionSummaryList)
A structure containing a list of all the versions of the specified template.
templateVersionSummaryList
- A structure containing a list of all the versions of the specified template.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 ListTemplateVersionsResult 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 ListTemplateVersionsResult 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 ListTemplateVersionsResult 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 ListTemplateVersionsResult clone()