@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.
|
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.
You can't specify an instance ID in the same command that you specify Status
= Pending
.
This is because the command hasn't reached the instance yet.
instanceId
- (Optional) Lists commands issued against this instance ID.
You can't specify an instance ID in the same command that you specify Status
=
Pending
. This is because the command hasn't reached the instance yet.
public String getInstanceId()
(Optional) Lists commands issued against this instance ID.
You can't specify an instance ID in the same command that you specify Status
= Pending
.
This is because the command hasn't reached the instance yet.
You can't specify an instance ID in the same command that you specify Status
=
Pending
. This is because the command hasn't reached the instance yet.
public ListCommandsRequest withInstanceId(String instanceId)
(Optional) Lists commands issued against this instance ID.
You can't specify an instance ID in the same command that you specify Status
= Pending
.
This is because the command hasn't reached the instance yet.
instanceId
- (Optional) Lists commands issued against this instance ID.
You can't specify an instance ID in the same command that you specify Status
=
Pending
. This is because the command hasn't reached the instance yet.
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()