@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<Environment> |
getEnvironments()
A list of all of your FinSpace environments.
|
String |
getNextToken()
A token that you can use in a subsequent call to retrieve the next set of results.
|
int |
hashCode() |
void |
setEnvironments(Collection<Environment> environments)
A list of all of your FinSpace environments.
|
void |
setNextToken(String nextToken)
A token that you can use in a subsequent call to retrieve the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
ListEnvironmentsResult |
withEnvironments(Collection<Environment> environments)
A list of all of your FinSpace environments.
|
ListEnvironmentsResult |
withEnvironments(Environment... environments)
A list of all of your FinSpace environments.
|
ListEnvironmentsResult |
withNextToken(String nextToken)
A token that you can use in a subsequent call to retrieve the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Environment> getEnvironments()
A list of all of your FinSpace environments.
public void setEnvironments(Collection<Environment> environments)
A list of all of your FinSpace environments.
environments
- A list of all of your FinSpace environments.public ListEnvironmentsResult withEnvironments(Environment... environments)
A list of all of your FinSpace 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
- A list of all of your FinSpace environments.public ListEnvironmentsResult withEnvironments(Collection<Environment> environments)
A list of all of your FinSpace environments.
environments
- A list of all of your FinSpace environments.public void setNextToken(String nextToken)
A token that you can use in a subsequent call to retrieve the next set of results.
nextToken
- A token that you can use in a subsequent call to retrieve the next set of results.public String getNextToken()
A token that you can use in a subsequent call to retrieve the next set of results.
public ListEnvironmentsResult withNextToken(String nextToken)
A token that you can use in a subsequent call to retrieve the next set of results.
nextToken
- A token that you can use in a subsequent call to retrieve the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListEnvironmentsResult clone()