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