Class ListCommandsRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
(Optional) If provided, lists only the specified command.(Optional) One or more filters.(Optional) Lists commands issued against this instance ID.(Optional) The maximum number of items to return for this call.(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.toString()
Returns a string representation of this object; useful for testing and debugging.withCommandId
(String commandId) (Optional) If provided, lists only the specified command.withFilters
(CommandFilter... filters) (Optional) One or more filters.withFilters
(Collection<CommandFilter> filters) (Optional) One or more filters.withInstanceId
(String instanceId) (Optional) Lists commands issued against this instance ID.withMaxResults
(Integer maxResults) (Optional) The maximum number of items to return for this call.withNextToken
(String nextToken) (Optional) The token for the next set of items to return.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
ListCommandsRequest
public ListCommandsRequest()
-
-
Method Details
-
setCommandId
(Optional) If provided, lists only the specified command.
- Parameters:
commandId
- (Optional) If provided, lists only the specified command.
-
getCommandId
(Optional) If provided, lists only the specified command.
- Returns:
- (Optional) If provided, lists only the specified command.
-
withCommandId
(Optional) If provided, lists only the specified command.
- Parameters:
commandId
- (Optional) If provided, lists only the specified command.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstanceId
(Optional) Lists commands issued against this instance ID.
- Parameters:
instanceId
- (Optional) Lists commands issued against this instance ID.
-
getInstanceId
(Optional) Lists commands issued against this instance ID.
- Returns:
- (Optional) Lists commands issued against this instance ID.
-
withInstanceId
(Optional) Lists commands issued against this instance ID.
- Parameters:
instanceId
- (Optional) Lists commands issued against this instance ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxResults
(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.
- Parameters:
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.
-
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.
- Returns:
- (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.
-
withMaxResults
(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
(Optional) The token for the next set of items to return. (You received this token from a previous call.)
- Parameters:
nextToken
- (Optional) The token for the next set of items to return. (You received this token from a previous call.)
-
getNextToken
(Optional) The token for the next set of items to return. (You received this token from a previous call.)
- Returns:
- (Optional) The token for the next set of items to return. (You received this token from a previous call.)
-
withNextToken
(Optional) The token for the next set of items to return. (You received this token from a previous call.)
- Parameters:
nextToken
- (Optional) The token for the next set of items to return. (You received this token from a previous call.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getFilters
(Optional) One or more filters. Use a filter to return a more specific list of results.
- Returns:
- (Optional) One or more filters. Use a filter to return a more specific list of results.
-
setFilters
(Optional) One or more filters. Use a filter to return a more specific list of results.
- Parameters:
filters
- (Optional) One or more filters. Use a filter to return a more specific list of results.
-
withFilters
(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)
orwithFilters(java.util.Collection)
if you want to override the existing values.- Parameters:
filters
- (Optional) One or more filters. Use a filter to return a more specific list of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withFilters
(Optional) One or more filters. Use a filter to return a more specific list of results.
- Parameters:
filters
- (Optional) One or more filters. Use a filter to return a more specific list of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-