@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListKxEnvironmentsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListKxEnvironmentsResult() |
Modifier and Type | Method and Description |
---|---|
ListKxEnvironmentsResult |
clone() |
boolean |
equals(Object obj) |
List<KxEnvironment> |
getEnvironments()
A list of environments in an account.
|
String |
getNextToken()
A token that indicates where a results page should begin.
|
int |
hashCode() |
void |
setEnvironments(Collection<KxEnvironment> environments)
A list of environments in an account.
|
void |
setNextToken(String nextToken)
A token that indicates where a results page should begin.
|
String |
toString()
Returns a string representation of this object.
|
ListKxEnvironmentsResult |
withEnvironments(Collection<KxEnvironment> environments)
A list of environments in an account.
|
ListKxEnvironmentsResult |
withEnvironments(KxEnvironment... environments)
A list of environments in an account.
|
ListKxEnvironmentsResult |
withNextToken(String nextToken)
A token that indicates where a results page should begin.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<KxEnvironment> getEnvironments()
A list of environments in an account.
public void setEnvironments(Collection<KxEnvironment> environments)
A list of environments in an account.
environments
- A list of environments in an account.public ListKxEnvironmentsResult withEnvironments(KxEnvironment... environments)
A list of environments in an 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
- A list of environments in an account.public ListKxEnvironmentsResult withEnvironments(Collection<KxEnvironment> environments)
A list of environments in an account.
environments
- A list of environments in an account.public void setNextToken(String nextToken)
A token that indicates where a results page should begin.
nextToken
- A token that indicates where a results page should begin.public String getNextToken()
A token that indicates where a results page should begin.
public ListKxEnvironmentsResult withNextToken(String nextToken)
A token that indicates where a results page should begin.
nextToken
- A token that indicates where a results page should begin.public String toString()
toString
in class Object
Object.toString()
public ListKxEnvironmentsResult clone()