@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> |
getItems()
The results of the
ListEnvironments action. |
String |
getNextToken()
When the number of environments is greater than the default value for the
MaxResults parameter, or
if you explicitly specify a value for MaxResults that is less than the number of environments, the
response includes a pagination token named NextToken. |
int |
hashCode() |
void |
setItems(Collection<EnvironmentSummary> items)
The results of the
ListEnvironments action. |
void |
setNextToken(String nextToken)
When the number of environments is greater than the default value for the
MaxResults parameter, or
if you explicitly specify a value for MaxResults that is less than the number of environments, the
response includes a pagination token named NextToken. |
String |
toString()
Returns a string representation of this object.
|
ListEnvironmentsResult |
withItems(Collection<EnvironmentSummary> items)
The results of the
ListEnvironments action. |
ListEnvironmentsResult |
withItems(EnvironmentSummary... items)
The results of the
ListEnvironments action. |
ListEnvironmentsResult |
withNextToken(String nextToken)
When the number of environments is greater than the default value for the
MaxResults parameter, or
if you explicitly specify a value for MaxResults that is less than the number of environments, the
response includes a pagination token named NextToken. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<EnvironmentSummary> getItems()
The results of the ListEnvironments action.
ListEnvironments action.public void setItems(Collection<EnvironmentSummary> items)
The results of the ListEnvironments action.
items - The results of the ListEnvironments action.public ListEnvironmentsResult withItems(EnvironmentSummary... items)
The results of the ListEnvironments action.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection) or withItems(java.util.Collection) if you want to override the
existing values.
items - The results of the ListEnvironments action.public ListEnvironmentsResult withItems(Collection<EnvironmentSummary> items)
The results of the ListEnvironments action.
items - The results of the ListEnvironments action.public void setNextToken(String nextToken)
When the number of environments is greater than the default value for the MaxResults parameter, or
if you explicitly specify a value for MaxResults that is less than the number of environments, the
response includes a pagination token named NextToken. You can specify this NextToken
value in a subsequent call to ListEnvironments to list the next set of environments.
nextToken - When the number of environments is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults that is less than the number
of environments, the response includes a pagination token named NextToken. You can specify
this NextToken value in a subsequent call to ListEnvironments to list the next
set of environments.public String getNextToken()
When the number of environments is greater than the default value for the MaxResults parameter, or
if you explicitly specify a value for MaxResults that is less than the number of environments, the
response includes a pagination token named NextToken. You can specify this NextToken
value in a subsequent call to ListEnvironments to list the next set of environments.
MaxResults
parameter, or if you explicitly specify a value for MaxResults that is less than the number
of environments, the response includes a pagination token named NextToken. You can specify
this NextToken value in a subsequent call to ListEnvironments to list the next
set of environments.public ListEnvironmentsResult withNextToken(String nextToken)
When the number of environments is greater than the default value for the MaxResults parameter, or
if you explicitly specify a value for MaxResults that is less than the number of environments, the
response includes a pagination token named NextToken. You can specify this NextToken
value in a subsequent call to ListEnvironments to list the next set of environments.
nextToken - When the number of environments is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults that is less than the number
of environments, the response includes a pagination token named NextToken. You can specify
this NextToken value in a subsequent call to ListEnvironments to list the next
set of environments.public String toString()
toString in class ObjectObject.toString()public ListEnvironmentsResult clone()
Copyright © 2023. All rights reserved.