@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListEnvironmentsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListEnvironmentsRequest() |
Modifier and Type | Method and Description |
---|---|
ListEnvironmentsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<EnvironmentTemplateFilter> |
getEnvironmentTemplates()
An array of the versions of the environment template.
|
Integer |
getMaxResults()
The maximum number of environments to list.
|
String |
getNextToken()
A token that indicates the location of the next environment in the array of environments, after the list of
environments that was previously requested.
|
int |
hashCode() |
void |
setEnvironmentTemplates(Collection<EnvironmentTemplateFilter> environmentTemplates)
An array of the versions of the environment template.
|
void |
setMaxResults(Integer maxResults)
The maximum number of environments to list.
|
void |
setNextToken(String nextToken)
A token that indicates the location of the next environment in the array of environments, after the list of
environments that was previously requested.
|
String |
toString()
Returns a string representation of this object.
|
ListEnvironmentsRequest |
withEnvironmentTemplates(Collection<EnvironmentTemplateFilter> environmentTemplates)
An array of the versions of the environment template.
|
ListEnvironmentsRequest |
withEnvironmentTemplates(EnvironmentTemplateFilter... environmentTemplates)
An array of the versions of the environment template.
|
ListEnvironmentsRequest |
withMaxResults(Integer maxResults)
The maximum number of environments to list.
|
ListEnvironmentsRequest |
withNextToken(String nextToken)
A token that indicates the location of the next environment in the array of environments, after the list of
environments that was previously requested.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<EnvironmentTemplateFilter> getEnvironmentTemplates()
An array of the versions of the environment template.
public void setEnvironmentTemplates(Collection<EnvironmentTemplateFilter> environmentTemplates)
An array of the versions of the environment template.
environmentTemplates
- An array of the versions of the environment template.public ListEnvironmentsRequest withEnvironmentTemplates(EnvironmentTemplateFilter... environmentTemplates)
An array of the versions of the environment template.
NOTE: This method appends the values to the existing list (if any). Use
setEnvironmentTemplates(java.util.Collection)
or withEnvironmentTemplates(java.util.Collection)
if you want to override the existing values.
environmentTemplates
- An array of the versions of the environment template.public ListEnvironmentsRequest withEnvironmentTemplates(Collection<EnvironmentTemplateFilter> environmentTemplates)
An array of the versions of the environment template.
environmentTemplates
- An array of the versions of the environment template.public void setMaxResults(Integer maxResults)
The maximum number of environments to list.
maxResults
- The maximum number of environments to list.public Integer getMaxResults()
The maximum number of environments to list.
public ListEnvironmentsRequest withMaxResults(Integer maxResults)
The maximum number of environments to list.
maxResults
- The maximum number of environments to list.public void setNextToken(String nextToken)
A token that indicates the location of the next environment in the array of environments, after the list of environments that was previously requested.
nextToken
- A token that indicates the location of the next environment in the array of environments, after the list
of environments that was previously requested.public String getNextToken()
A token that indicates the location of the next environment in the array of environments, after the list of environments that was previously requested.
public ListEnvironmentsRequest withNextToken(String nextToken)
A token that indicates the location of the next environment in the array of environments, after the list of environments that was previously requested.
nextToken
- A token that indicates the location of the next environment in the array of environments, after the list
of environments that was previously requested.public String toString()
toString
in class Object
Object.toString()
public ListEnvironmentsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()