@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() |
boolean |
equals(Object obj) |
String |
getEngineType()
The engine type for the environment.
|
Integer |
getMaxResults()
The maximum number of environments to return.
|
List<String> |
getNames()
The name of the environment.
|
String |
getNextToken()
A pagination token to control the number of environments displayed in the list.
|
int |
hashCode() |
void |
setEngineType(String engineType)
The engine type for the environment.
|
void |
setMaxResults(Integer maxResults)
The maximum number of environments to return.
|
void |
setNames(Collection<String> names)
The name of the environment.
|
void |
setNextToken(String nextToken)
A pagination token to control the number of environments displayed in the list.
|
String |
toString()
Returns a string representation of this object.
|
ListEnvironmentsRequest |
withEngineType(EngineType engineType)
The engine type for the environment.
|
ListEnvironmentsRequest |
withEngineType(String engineType)
The engine type for the environment.
|
ListEnvironmentsRequest |
withMaxResults(Integer maxResults)
The maximum number of environments to return.
|
ListEnvironmentsRequest |
withNames(Collection<String> names)
The name of the environment.
|
ListEnvironmentsRequest |
withNames(String... names)
The name of the environment.
|
ListEnvironmentsRequest |
withNextToken(String nextToken)
A pagination token to control the number of environments displayed in the list.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic void setEngineType(String engineType)
The engine type for the environment.
engineType - The engine type for the environment.EngineTypepublic String getEngineType()
The engine type for the environment.
EngineTypepublic ListEnvironmentsRequest withEngineType(String engineType)
The engine type for the environment.
engineType - The engine type for the environment.EngineTypepublic ListEnvironmentsRequest withEngineType(EngineType engineType)
The engine type for the environment.
engineType - The engine type for the environment.EngineTypepublic void setMaxResults(Integer maxResults)
The maximum number of environments to return.
maxResults - The maximum number of environments to return.public Integer getMaxResults()
The maximum number of environments to return.
public ListEnvironmentsRequest withMaxResults(Integer maxResults)
The maximum number of environments to return.
maxResults - The maximum number of environments to return.public List<String> getNames()
The name of the environment.
public void setNames(Collection<String> names)
The name of the environment.
names - The name of the environment.public ListEnvironmentsRequest withNames(String... names)
The name of the environment.
NOTE: This method appends the values to the existing list (if any). Use
setNames(java.util.Collection) or withNames(java.util.Collection) if you want to override the
existing values.
names - The name of the environment.public ListEnvironmentsRequest withNames(Collection<String> names)
The name of the environment.
names - The name of the environment.public void setNextToken(String nextToken)
A pagination token to control the number of environments displayed in the list.
nextToken - A pagination token to control the number of environments displayed in the list.public String getNextToken()
A pagination token to control the number of environments displayed in the list.
public ListEnvironmentsRequest withNextToken(String nextToken)
A pagination token to control the number of environments displayed in the list.
nextToken - A pagination token to control the number of environments displayed in the list.public String toString()
toString in class ObjectObject.toString()public ListEnvironmentsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2022. All rights reserved.