@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListCommandsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListCommandsRequest() |
Modifier and Type | Method and Description |
---|---|
ListCommandsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCommandId()
(Optional) If provided, lists only the specified command.
|
List<CommandFilter> |
getFilters()
(Optional) One or more filters.
|
String |
getInstanceId()
(Optional) Lists commands issued against this instance ID.
|
Integer |
getMaxResults()
(Optional) The maximum number of items to return for this call.
|
String |
getNextToken()
(Optional) The token for the next set of items to return.
|
int |
hashCode() |
void |
setCommandId(String commandId)
(Optional) If provided, lists only the specified command.
|
void |
setFilters(Collection<CommandFilter> filters)
(Optional) One or more filters.
|
void |
setInstanceId(String instanceId)
(Optional) Lists commands issued against this instance ID.
|
void |
setMaxResults(Integer maxResults)
(Optional) The maximum number of items to return for this call.
|
void |
setNextToken(String nextToken)
(Optional) The token for the next set of items to return.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListCommandsRequest |
withCommandId(String commandId)
(Optional) If provided, lists only the specified command.
|
ListCommandsRequest |
withFilters(Collection<CommandFilter> filters)
(Optional) One or more filters.
|
ListCommandsRequest |
withFilters(CommandFilter... filters)
(Optional) One or more filters.
|
ListCommandsRequest |
withInstanceId(String instanceId)
(Optional) Lists commands issued against this instance ID.
|
ListCommandsRequest |
withMaxResults(Integer maxResults)
(Optional) The maximum number of items to return for this call.
|
ListCommandsRequest |
withNextToken(String nextToken)
(Optional) The token for the next set of items to return.
|
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 setCommandId(String commandId)
(Optional) If provided, lists only the specified command.
commandId
- (Optional) If provided, lists only the specified command.public String getCommandId()
(Optional) If provided, lists only the specified command.
public ListCommandsRequest withCommandId(String commandId)
(Optional) If provided, lists only the specified command.
commandId
- (Optional) If provided, lists only the specified command.public void setInstanceId(String instanceId)
(Optional) Lists commands issued against this instance ID.
instanceId
- (Optional) Lists commands issued against this instance ID.public String getInstanceId()
(Optional) Lists commands issued against this instance ID.
public ListCommandsRequest withInstanceId(String instanceId)
(Optional) Lists commands issued against this instance ID.
instanceId
- (Optional) Lists commands issued against this instance ID.public void setMaxResults(Integer maxResults)
(Optional) The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
maxResults
- (Optional) The maximum number of items to return for this call. The call also returns a token that you can
specify in a subsequent call to get the next set of results.public Integer getMaxResults()
(Optional) The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
public ListCommandsRequest withMaxResults(Integer maxResults)
(Optional) The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
maxResults
- (Optional) The maximum number of items to return for this call. The call also returns a token that you can
specify in a subsequent call to get the next set of results.public void setNextToken(String nextToken)
(Optional) The token for the next set of items to return. (You received this token from a previous call.)
nextToken
- (Optional) The token for the next set of items to return. (You received this token from a previous call.)public String getNextToken()
(Optional) The token for the next set of items to return. (You received this token from a previous call.)
public ListCommandsRequest withNextToken(String nextToken)
(Optional) The token for the next set of items to return. (You received this token from a previous call.)
nextToken
- (Optional) The token for the next set of items to return. (You received this token from a previous call.)public List<CommandFilter> getFilters()
(Optional) One or more filters. Use a filter to return a more specific list of results.
public void setFilters(Collection<CommandFilter> filters)
(Optional) One or more filters. Use a filter to return a more specific list of results.
filters
- (Optional) One or more filters. Use a filter to return a more specific list of results.public ListCommandsRequest withFilters(CommandFilter... filters)
(Optional) One or more filters. Use a filter to return a more specific list of results.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- (Optional) One or more filters. Use a filter to return a more specific list of results.public ListCommandsRequest withFilters(Collection<CommandFilter> filters)
(Optional) One or more filters. Use a filter to return a more specific list of results.
filters
- (Optional) One or more filters. Use a filter to return a more specific list of results.public String toString()
toString
in class Object
Object.toString()
public ListCommandsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.