@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> |
getEnvironmentSummaryList()
The list of
EnvironmentSummary objects. |
String |
getNextToken()
The token for the next page of results.
|
int |
hashCode() |
void |
setEnvironmentSummaryList(Collection<EnvironmentSummary> environmentSummaryList)
The list of
EnvironmentSummary objects. |
void |
setNextToken(String nextToken)
The token for the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
ListEnvironmentsResult |
withEnvironmentSummaryList(Collection<EnvironmentSummary> environmentSummaryList)
The list of
EnvironmentSummary objects. |
ListEnvironmentsResult |
withEnvironmentSummaryList(EnvironmentSummary... environmentSummaryList)
The list of
EnvironmentSummary objects. |
ListEnvironmentsResult |
withNextToken(String nextToken)
The token for the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<EnvironmentSummary> getEnvironmentSummaryList()
The list of EnvironmentSummary objects.
EnvironmentSummary objects.public void setEnvironmentSummaryList(Collection<EnvironmentSummary> environmentSummaryList)
The list of EnvironmentSummary objects.
environmentSummaryList - The list of EnvironmentSummary objects.public ListEnvironmentsResult withEnvironmentSummaryList(EnvironmentSummary... environmentSummaryList)
The list of EnvironmentSummary objects.
NOTE: This method appends the values to the existing list (if any). Use
setEnvironmentSummaryList(java.util.Collection) or
withEnvironmentSummaryList(java.util.Collection) if you want to override the existing values.
environmentSummaryList - The list of EnvironmentSummary objects.public ListEnvironmentsResult withEnvironmentSummaryList(Collection<EnvironmentSummary> environmentSummaryList)
The list of EnvironmentSummary objects.
environmentSummaryList - The list of EnvironmentSummary objects.public void setNextToken(String nextToken)
The token for the next page of results.
nextToken - The token for the next page of results.public String getNextToken()
The token for the next page of results.
public ListEnvironmentsResult withNextToken(String nextToken)
The token for the next page of results.
nextToken - The token for the next page of results.public String toString()
toString in class ObjectObject.toString()public ListEnvironmentsResult clone()
Copyright © 2023. All rights reserved.