@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListProvisioningTemplatesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListProvisioningTemplatesResult() |
Modifier and Type | Method and Description |
---|---|
ListProvisioningTemplatesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A token to retrieve the next set of results.
|
List<ProvisioningTemplateSummary> |
getTemplates()
A list of provisioning templates
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token to retrieve the next set of results.
|
void |
setTemplates(Collection<ProvisioningTemplateSummary> templates)
A list of provisioning templates
|
String |
toString()
Returns a string representation of this object.
|
ListProvisioningTemplatesResult |
withNextToken(String nextToken)
A token to retrieve the next set of results.
|
ListProvisioningTemplatesResult |
withTemplates(Collection<ProvisioningTemplateSummary> templates)
A list of provisioning templates
|
ListProvisioningTemplatesResult |
withTemplates(ProvisioningTemplateSummary... templates)
A list of provisioning templates
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ProvisioningTemplateSummary> getTemplates()
A list of provisioning templates
public void setTemplates(Collection<ProvisioningTemplateSummary> templates)
A list of provisioning templates
templates
- A list of provisioning templatespublic ListProvisioningTemplatesResult withTemplates(ProvisioningTemplateSummary... templates)
A list of provisioning templates
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
- A list of provisioning templatespublic ListProvisioningTemplatesResult withTemplates(Collection<ProvisioningTemplateSummary> templates)
A list of provisioning templates
templates
- A list of provisioning templatespublic 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 ListProvisioningTemplatesResult 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 ListProvisioningTemplatesResult clone()