@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) |
String |
getEngineType()
The engine type for the runtime environment.
|
Integer |
getMaxResults()
The maximum number of runtime environments to return.
|
List<String> |
getNames()
The names of the runtime environments.
|
String |
getNextToken()
A pagination token to control the number of runtime environments displayed in the list.
|
int |
hashCode() |
void |
setEngineType(String engineType)
The engine type for the runtime environment.
|
void |
setMaxResults(Integer maxResults)
The maximum number of runtime environments to return.
|
void |
setNames(Collection<String> names)
The names of the runtime environments.
|
void |
setNextToken(String nextToken)
A pagination token to control the number of runtime environments displayed in the list.
|
String |
toString()
Returns a string representation of this object.
|
ListEnvironmentsRequest |
withEngineType(EngineType engineType)
The engine type for the runtime environment.
|
ListEnvironmentsRequest |
withEngineType(String engineType)
The engine type for the runtime environment.
|
ListEnvironmentsRequest |
withMaxResults(Integer maxResults)
The maximum number of runtime environments to return.
|
ListEnvironmentsRequest |
withNames(Collection<String> names)
The names of the runtime environments.
|
ListEnvironmentsRequest |
withNames(String... names)
The names of the runtime environments.
|
ListEnvironmentsRequest |
withNextToken(String nextToken)
A pagination token to control the number of runtime environments displayed in the list.
|
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 void setEngineType(String engineType)
The engine type for the runtime environment.
engineType
- The engine type for the runtime environment.EngineType
public String getEngineType()
The engine type for the runtime environment.
EngineType
public ListEnvironmentsRequest withEngineType(String engineType)
The engine type for the runtime environment.
engineType
- The engine type for the runtime environment.EngineType
public ListEnvironmentsRequest withEngineType(EngineType engineType)
The engine type for the runtime environment.
engineType
- The engine type for the runtime environment.EngineType
public void setMaxResults(Integer maxResults)
The maximum number of runtime environments to return.
maxResults
- The maximum number of runtime environments to return.public Integer getMaxResults()
The maximum number of runtime environments to return.
public ListEnvironmentsRequest withMaxResults(Integer maxResults)
The maximum number of runtime environments to return.
maxResults
- The maximum number of runtime environments to return.public List<String> getNames()
The names of the runtime environments. Must be unique within the account.
public void setNames(Collection<String> names)
The names of the runtime environments. Must be unique within the account.
names
- The names of the runtime environments. Must be unique within the account.public ListEnvironmentsRequest withNames(String... names)
The names of the runtime environments. Must be unique within the account.
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 names of the runtime environments. Must be unique within the account.public ListEnvironmentsRequest withNames(Collection<String> names)
The names of the runtime environments. Must be unique within the account.
names
- The names of the runtime environments. Must be unique within the account.public void setNextToken(String nextToken)
A pagination token to control the number of runtime environments displayed in the list.
nextToken
- A pagination token to control the number of runtime environments displayed in the list.public String getNextToken()
A pagination token to control the number of runtime environments displayed in the list.
public ListEnvironmentsRequest withNextToken(String nextToken)
A pagination token to control the number of runtime environments displayed in the list.
nextToken
- A pagination token to control the number of runtime environments displayed in the list.public String toString()
toString
in class Object
Object.toString()
public ListEnvironmentsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()