@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()
Returns a list of summary details for all the runtime environments in your account.
|
String |
getNextToken()
A pagination token that's returned when the response doesn't contain all the runtime environments.
|
int |
hashCode() |
void |
setEnvironments(Collection<EnvironmentSummary> environments)
Returns a list of summary details for all the runtime environments in your account.
|
void |
setNextToken(String nextToken)
A pagination token that's returned when the response doesn't contain all the runtime environments.
|
String |
toString()
Returns a string representation of this object.
|
ListEnvironmentsResult |
withEnvironments(Collection<EnvironmentSummary> environments)
Returns a list of summary details for all the runtime environments in your account.
|
ListEnvironmentsResult |
withEnvironments(EnvironmentSummary... environments)
Returns a list of summary details for all the runtime environments in your account.
|
ListEnvironmentsResult |
withNextToken(String nextToken)
A pagination token that's returned when the response doesn't contain all the runtime environments.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<EnvironmentSummary> getEnvironments()
Returns a list of summary details for all the runtime environments in your account.
public void setEnvironments(Collection<EnvironmentSummary> environments)
Returns a list of summary details for all the runtime environments in your account.
environments - Returns a list of summary details for all the runtime environments in your account.public ListEnvironmentsResult withEnvironments(EnvironmentSummary... environments)
Returns a list of summary details for all the runtime environments in your account.
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 - Returns a list of summary details for all the runtime environments in your account.public ListEnvironmentsResult withEnvironments(Collection<EnvironmentSummary> environments)
Returns a list of summary details for all the runtime environments in your account.
environments - Returns a list of summary details for all the runtime environments in your account.public void setNextToken(String nextToken)
A pagination token that's returned when the response doesn't contain all the runtime environments.
nextToken - A pagination token that's returned when the response doesn't contain all the runtime environments.public String getNextToken()
A pagination token that's returned when the response doesn't contain all the runtime environments.
public ListEnvironmentsResult withNextToken(String nextToken)
A pagination token that's returned when the response doesn't contain all the runtime environments.
nextToken - A pagination token that's returned when the response doesn't contain all the runtime environments.public String toString()
toString in class ObjectObject.toString()public ListEnvironmentsResult clone()