@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListApplicationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListApplicationsRequest() |
Modifier and Type | Method and Description |
---|---|
ListApplicationsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of applications that can be listed.
|
String |
getNextToken()
The token for the next set of application results.
|
List<String> |
getStates()
An optional filter for application states.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of applications that can be listed.
|
void |
setNextToken(String nextToken)
The token for the next set of application results.
|
void |
setStates(Collection<String> states)
An optional filter for application states.
|
String |
toString()
Returns a string representation of this object.
|
ListApplicationsRequest |
withMaxResults(Integer maxResults)
The maximum number of applications that can be listed.
|
ListApplicationsRequest |
withNextToken(String nextToken)
The token for the next set of application results.
|
ListApplicationsRequest |
withStates(ApplicationState... states)
An optional filter for application states.
|
ListApplicationsRequest |
withStates(Collection<String> states)
An optional filter for application states.
|
ListApplicationsRequest |
withStates(String... states)
An optional filter for application states.
|
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 setNextToken(String nextToken)
The token for the next set of application results.
nextToken
- The token for the next set of application results.public String getNextToken()
The token for the next set of application results.
public ListApplicationsRequest withNextToken(String nextToken)
The token for the next set of application results.
nextToken
- The token for the next set of application results.public void setMaxResults(Integer maxResults)
The maximum number of applications that can be listed.
maxResults
- The maximum number of applications that can be listed.public Integer getMaxResults()
The maximum number of applications that can be listed.
public ListApplicationsRequest withMaxResults(Integer maxResults)
The maximum number of applications that can be listed.
maxResults
- The maximum number of applications that can be listed.public List<String> getStates()
An optional filter for application states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.
ApplicationState
public void setStates(Collection<String> states)
An optional filter for application states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.
states
- An optional filter for application states. Note that if this filter contains multiple states, the
resulting list will be grouped by the state.ApplicationState
public ListApplicationsRequest withStates(String... states)
An optional filter for application states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.
NOTE: This method appends the values to the existing list (if any). Use
setStates(java.util.Collection)
or withStates(java.util.Collection)
if you want to override the
existing values.
states
- An optional filter for application states. Note that if this filter contains multiple states, the
resulting list will be grouped by the state.ApplicationState
public ListApplicationsRequest withStates(Collection<String> states)
An optional filter for application states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.
states
- An optional filter for application states. Note that if this filter contains multiple states, the
resulting list will be grouped by the state.ApplicationState
public ListApplicationsRequest withStates(ApplicationState... states)
An optional filter for application states. Note that if this filter contains multiple states, the resulting list will be grouped by the state.
states
- An optional filter for application states. Note that if this filter contains multiple states, the
resulting list will be grouped by the state.ApplicationState
public String toString()
toString
in class Object
Object.toString()
public ListApplicationsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()