@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListProvisioningTemplateVersionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListProvisioningTemplateVersionsResult() |
Modifier and Type | Method and Description |
---|---|
ListProvisioningTemplateVersionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A token to retrieve the next set of results.
|
List<ProvisioningTemplateVersionSummary> |
getVersions()
The list of provisioning template versions.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token to retrieve the next set of results.
|
void |
setVersions(Collection<ProvisioningTemplateVersionSummary> versions)
The list of provisioning template versions.
|
String |
toString()
Returns a string representation of this object.
|
ListProvisioningTemplateVersionsResult |
withNextToken(String nextToken)
A token to retrieve the next set of results.
|
ListProvisioningTemplateVersionsResult |
withVersions(Collection<ProvisioningTemplateVersionSummary> versions)
The list of provisioning template versions.
|
ListProvisioningTemplateVersionsResult |
withVersions(ProvisioningTemplateVersionSummary... versions)
The list of provisioning template versions.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public ListProvisioningTemplateVersionsResult()
public List<ProvisioningTemplateVersionSummary> getVersions()
The list of provisioning template versions.
public void setVersions(Collection<ProvisioningTemplateVersionSummary> versions)
The list of provisioning template versions.
versions
- The list of provisioning template versions.public ListProvisioningTemplateVersionsResult withVersions(ProvisioningTemplateVersionSummary... versions)
The list of provisioning template versions.
NOTE: This method appends the values to the existing list (if any). Use
setVersions(java.util.Collection)
or withVersions(java.util.Collection)
if you want to override
the existing values.
versions
- The list of provisioning template versions.public ListProvisioningTemplateVersionsResult withVersions(Collection<ProvisioningTemplateVersionSummary> versions)
The list of provisioning template versions.
versions
- The list of provisioning template versions.public void setNextToken(String nextToken)
A token to retrieve the next set of results.
nextToken
- A token to retrieve the next set of results.public String getNextToken()
A token to retrieve the next set of results.
public ListProvisioningTemplateVersionsResult withNextToken(String nextToken)
A token to retrieve the next set of results.
nextToken
- A token to retrieve the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListProvisioningTemplateVersionsResult clone()