@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListEnvironmentsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListEnvironmentsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListEnvironmentsResult |
clone() |
boolean |
equals(Object obj) |
List<EnvironmentSummary> |
getEnvironments()
An array of environment detail data summaries.
|
String |
getNextToken()
A token that indicates the location of the next environment in the array of environments, after the current
requested list of environments.
|
int |
hashCode() |
void |
setEnvironments(Collection<EnvironmentSummary> environments)
An array of environment detail data summaries.
|
void |
setNextToken(String nextToken)
A token that indicates the location of the next environment in the array of environments, after the current
requested list of environments.
|
String |
toString()
Returns a string representation of this object.
|
ListEnvironmentsResult |
withEnvironments(Collection<EnvironmentSummary> environments)
An array of environment detail data summaries.
|
ListEnvironmentsResult |
withEnvironments(EnvironmentSummary... environments)
An array of environment detail data summaries.
|
ListEnvironmentsResult |
withNextToken(String nextToken)
A token that indicates the location of the next environment in the array of environments, after the current
requested list of environments.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<EnvironmentSummary> getEnvironments()
An array of environment detail data summaries.
public void setEnvironments(Collection<EnvironmentSummary> environments)
An array of environment detail data summaries.
environments - An array of environment detail data summaries.public ListEnvironmentsResult withEnvironments(EnvironmentSummary... environments)
An array of environment detail data summaries.
NOTE: This method appends the values to the existing list (if any). Use
setEnvironments(java.util.Collection) or withEnvironments(java.util.Collection) if you want to
override the existing values.
environments - An array of environment detail data summaries.public ListEnvironmentsResult withEnvironments(Collection<EnvironmentSummary> environments)
An array of environment detail data summaries.
environments - An array of environment detail data summaries.public void setNextToken(String nextToken)
A token that indicates the location of the next environment in the array of environments, after the current requested list of environments.
nextToken - A token that indicates the location of the next environment in the array of environments, after the
current requested list of environments.public String getNextToken()
A token that indicates the location of the next environment in the array of environments, after the current requested list of environments.
public ListEnvironmentsResult withNextToken(String nextToken)
A token that indicates the location of the next environment in the array of environments, after the current requested list of environments.
nextToken - A token that indicates the location of the next environment in the array of environments, after the
current requested list of environments.public String toString()
toString in class ObjectObject.toString()public ListEnvironmentsResult clone()
Copyright © 2025. All rights reserved.