@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListServiceTemplatesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListServiceTemplatesResult() |
Modifier and Type | Method and Description |
---|---|
ListServiceTemplatesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A token that indicates the location of the next service template in the array of service templates, after the
current requested list of service templates.
|
List<ServiceTemplateSummary> |
getTemplates()
An array of service templates with detail data.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token that indicates the location of the next service template in the array of service templates, after the
current requested list of service templates.
|
void |
setTemplates(Collection<ServiceTemplateSummary> templates)
An array of service templates with detail data.
|
String |
toString()
Returns a string representation of this object.
|
ListServiceTemplatesResult |
withNextToken(String nextToken)
A token that indicates the location of the next service template in the array of service templates, after the
current requested list of service templates.
|
ListServiceTemplatesResult |
withTemplates(Collection<ServiceTemplateSummary> templates)
An array of service templates with detail data.
|
ListServiceTemplatesResult |
withTemplates(ServiceTemplateSummary... templates)
An array of service templates with detail data.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
A token that indicates the location of the next service template in the array of service templates, after the current requested list of service templates.
nextToken
- A token that indicates the location of the next service template in the array of service templates, after
the current requested list of service templates.public String getNextToken()
A token that indicates the location of the next service template in the array of service templates, after the current requested list of service templates.
public ListServiceTemplatesResult withNextToken(String nextToken)
A token that indicates the location of the next service template in the array of service templates, after the current requested list of service templates.
nextToken
- A token that indicates the location of the next service template in the array of service templates, after
the current requested list of service templates.public List<ServiceTemplateSummary> getTemplates()
An array of service templates with detail data.
public void setTemplates(Collection<ServiceTemplateSummary> templates)
An array of service templates with detail data.
templates
- An array of service templates with detail data.public ListServiceTemplatesResult withTemplates(ServiceTemplateSummary... templates)
An array of service templates with detail data.
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
- An array of service templates with detail data.public ListServiceTemplatesResult withTemplates(Collection<ServiceTemplateSummary> templates)
An array of service templates with detail data.
templates
- An array of service templates with detail data.public String toString()
toString
in class Object
Object.toString()
public ListServiceTemplatesResult clone()