@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()
Describes environments.
|
String |
getNextToken()
If
nextToken is returned, there are more results available. |
int |
hashCode() |
void |
setEnvironments(Collection<EnvironmentSummary> environments)
Describes environments.
|
void |
setNextToken(String nextToken)
If
nextToken is returned, there are more results available. |
String |
toString()
Returns a string representation of this object.
|
ListEnvironmentsResult |
withEnvironments(Collection<EnvironmentSummary> environments)
Describes environments.
|
ListEnvironmentsResult |
withEnvironments(EnvironmentSummary... environments)
Describes environments.
|
ListEnvironmentsResult |
withNextToken(String nextToken)
If
nextToken is returned, there are more results available. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<EnvironmentSummary> getEnvironments()
Describes environments.
public void setEnvironments(Collection<EnvironmentSummary> environments)
Describes environments.
environments
- Describes environments.public ListEnvironmentsResult withEnvironments(EnvironmentSummary... environments)
Describes environments.
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
- Describes environments.public ListEnvironmentsResult withEnvironments(Collection<EnvironmentSummary> environments)
Describes environments.
environments
- Describes environments.public void setNextToken(String nextToken)
If nextToken
is returned, there are more results available. The value of nextToken
is a
unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination
token will return an HTTP 400 InvalidToken error.
nextToken
- If nextToken
is returned, there are more results available. The value of
nextToken
is a unique pagination token for each page. Make the call again using the returned
token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after
24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.public String getNextToken()
If nextToken
is returned, there are more results available. The value of nextToken
is a
unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination
token will return an HTTP 400 InvalidToken error.
nextToken
is returned, there are more results available. The value of
nextToken
is a unique pagination token for each page. Make the call again using the returned
token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after
24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.public ListEnvironmentsResult withNextToken(String nextToken)
If nextToken
is returned, there are more results available. The value of nextToken
is a
unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination
token will return an HTTP 400 InvalidToken error.
nextToken
- If nextToken
is returned, there are more results available. The value of
nextToken
is a unique pagination token for each page. Make the call again using the returned
token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after
24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.public String toString()
toString
in class Object
Object.toString()
public ListEnvironmentsResult clone()