@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> |
getEnvironmentIds()
The list of environment identifiers.
|
String |
getNextToken()
If there are more than 25 items in the list, only the first 25 items are returned, along with a unique string
called a next token.
|
int |
hashCode() |
void |
setEnvironmentIds(Collection<String> environmentIds)
The list of environment identifiers.
|
void |
setNextToken(String nextToken)
If there are more than 25 items in the list, only the first 25 items are returned, along with a unique string
called a next token.
|
String |
toString()
Returns a string representation of this object.
|
ListEnvironmentsResult |
withEnvironmentIds(Collection<String> environmentIds)
The list of environment identifiers.
|
ListEnvironmentsResult |
withEnvironmentIds(String... environmentIds)
The list of environment identifiers.
|
ListEnvironmentsResult |
withNextToken(String nextToken)
If there are more than 25 items in the list, only the first 25 items are returned, along with a unique string
called a next token.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
If there are more than 25 items in the list, only the first 25 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call.
nextToken
- If there are more than 25 items in the list, only the first 25 items are returned, along with a unique
string called a next token. To get the next batch of items in the list, call this operation again,
adding the next token to the call.public String getNextToken()
If there are more than 25 items in the list, only the first 25 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call.
public ListEnvironmentsResult withNextToken(String nextToken)
If there are more than 25 items in the list, only the first 25 items are returned, along with a unique string called a next token. To get the next batch of items in the list, call this operation again, adding the next token to the call.
nextToken
- If there are more than 25 items in the list, only the first 25 items are returned, along with a unique
string called a next token. To get the next batch of items in the list, call this operation again,
adding the next token to the call.public List<String> getEnvironmentIds()
The list of environment identifiers.
public void setEnvironmentIds(Collection<String> environmentIds)
The list of environment identifiers.
environmentIds
- The list of environment identifiers.public ListEnvironmentsResult withEnvironmentIds(String... environmentIds)
The list of environment identifiers.
NOTE: This method appends the values to the existing list (if any). Use
setEnvironmentIds(java.util.Collection)
or withEnvironmentIds(java.util.Collection)
if you want
to override the existing values.
environmentIds
- The list of environment identifiers.public ListEnvironmentsResult withEnvironmentIds(Collection<String> environmentIds)
The list of environment identifiers.
environmentIds
- The list of environment identifiers.public String toString()
toString
in class Object
Object.toString()
public ListEnvironmentsResult clone()