@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListEnvironmentTemplateVersionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListEnvironmentTemplateVersionsResult() |
Modifier and Type | Method and Description |
---|---|
ListEnvironmentTemplateVersionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A token that indicates the location of the next major or minor version in the array of major or minor versions of
an environment template, after the list of major or minor versions that was previously requested.
|
List<EnvironmentTemplateVersionSummary> |
getTemplateVersions()
An array of major or minor versions of an environment template detail data.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token that indicates the location of the next major or minor version in the array of major or minor versions of
an environment template, after the list of major or minor versions that was previously requested.
|
void |
setTemplateVersions(Collection<EnvironmentTemplateVersionSummary> templateVersions)
An array of major or minor versions of an environment template detail data.
|
String |
toString()
Returns a string representation of this object.
|
ListEnvironmentTemplateVersionsResult |
withNextToken(String nextToken)
A token that indicates the location of the next major or minor version in the array of major or minor versions of
an environment template, after the list of major or minor versions that was previously requested.
|
ListEnvironmentTemplateVersionsResult |
withTemplateVersions(Collection<EnvironmentTemplateVersionSummary> templateVersions)
An array of major or minor versions of an environment template detail data.
|
ListEnvironmentTemplateVersionsResult |
withTemplateVersions(EnvironmentTemplateVersionSummary... templateVersions)
An array of major or minor versions of an environment template detail data.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public ListEnvironmentTemplateVersionsResult()
public void setNextToken(String nextToken)
A token that indicates the location of the next major or minor version in the array of major or minor versions of an environment template, after the list of major or minor versions that was previously requested.
nextToken
- A token that indicates the location of the next major or minor version in the array of major or minor
versions of an environment template, after the list of major or minor versions that was previously
requested.public String getNextToken()
A token that indicates the location of the next major or minor version in the array of major or minor versions of an environment template, after the list of major or minor versions that was previously requested.
public ListEnvironmentTemplateVersionsResult withNextToken(String nextToken)
A token that indicates the location of the next major or minor version in the array of major or minor versions of an environment template, after the list of major or minor versions that was previously requested.
nextToken
- A token that indicates the location of the next major or minor version in the array of major or minor
versions of an environment template, after the list of major or minor versions that was previously
requested.public List<EnvironmentTemplateVersionSummary> getTemplateVersions()
An array of major or minor versions of an environment template detail data.
public void setTemplateVersions(Collection<EnvironmentTemplateVersionSummary> templateVersions)
An array of major or minor versions of an environment template detail data.
templateVersions
- An array of major or minor versions of an environment template detail data.public ListEnvironmentTemplateVersionsResult withTemplateVersions(EnvironmentTemplateVersionSummary... templateVersions)
An array of major or minor versions of an environment template detail data.
NOTE: This method appends the values to the existing list (if any). Use
setTemplateVersions(java.util.Collection)
or withTemplateVersions(java.util.Collection)
if you
want to override the existing values.
templateVersions
- An array of major or minor versions of an environment template detail data.public ListEnvironmentTemplateVersionsResult withTemplateVersions(Collection<EnvironmentTemplateVersionSummary> templateVersions)
An array of major or minor versions of an environment template detail data.
templateVersions
- An array of major or minor versions of an environment template detail data.public String toString()
toString
in class Object
Object.toString()
public ListEnvironmentTemplateVersionsResult clone()