@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<String> |
getEnvironments()
Returns a list of Amazon MWAA environments.
|
String |
getNextToken()
Retrieves the next page of the results.
|
int |
hashCode() |
void |
setEnvironments(Collection<String> environments)
Returns a list of Amazon MWAA environments.
|
void |
setNextToken(String nextToken)
Retrieves the next page of the results.
|
String |
toString()
Returns a string representation of this object.
|
ListEnvironmentsResult |
withEnvironments(Collection<String> environments)
Returns a list of Amazon MWAA environments.
|
ListEnvironmentsResult |
withEnvironments(String... environments)
Returns a list of Amazon MWAA environments.
|
ListEnvironmentsResult |
withNextToken(String nextToken)
Retrieves the next page of the results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getEnvironments()
Returns a list of Amazon MWAA environments.
public void setEnvironments(Collection<String> environments)
Returns a list of Amazon MWAA environments.
environments
- Returns a list of Amazon MWAA environments.public ListEnvironmentsResult withEnvironments(String... environments)
Returns a list of Amazon MWAA 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
- Returns a list of Amazon MWAA environments.public ListEnvironmentsResult withEnvironments(Collection<String> environments)
Returns a list of Amazon MWAA environments.
environments
- Returns a list of Amazon MWAA environments.public void setNextToken(String nextToken)
Retrieves the next page of the results.
nextToken
- Retrieves the next page of the results.public String getNextToken()
Retrieves the next page of the results.
public ListEnvironmentsResult withNextToken(String nextToken)
Retrieves the next page of the results.
nextToken
- Retrieves the next page of the results.public String toString()
toString
in class Object
Object.toString()
public ListEnvironmentsResult clone()