Class ListCommandInvocationsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.simplesystemsmanagement.model.ListCommandInvocationsRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class ListCommandInvocationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListCommandInvocationsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListCommandInvocationsRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getCommandId()
(Optional) The invocations for a specific command ID.Boolean
getDetails()
(Optional) If set this returns the response of the command executions and any command output.List<CommandFilter>
getFilters()
(Optional) One or more filters.String
getInstanceId()
(Optional) The command execution details for a specific 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()
Boolean
isDetails()
(Optional) If set this returns the response of the command executions and any command output.void
setCommandId(String commandId)
(Optional) The invocations for a specific command ID.void
setDetails(Boolean details)
(Optional) If set this returns the response of the command executions and any command output.void
setFilters(Collection<CommandFilter> filters)
(Optional) One or more filters.void
setInstanceId(String instanceId)
(Optional) The command execution details for a specific 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.ListCommandInvocationsRequest
withCommandId(String commandId)
(Optional) The invocations for a specific command ID.ListCommandInvocationsRequest
withDetails(Boolean details)
(Optional) If set this returns the response of the command executions and any command output.ListCommandInvocationsRequest
withFilters(CommandFilter... filters)
(Optional) One or more filters.ListCommandInvocationsRequest
withFilters(Collection<CommandFilter> filters)
(Optional) One or more filters.ListCommandInvocationsRequest
withInstanceId(String instanceId)
(Optional) The command execution details for a specific instance ID.ListCommandInvocationsRequest
withMaxResults(Integer maxResults)
(Optional) The maximum number of items to return for this call.ListCommandInvocationsRequest
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
-
-
-
-
Method Detail
-
setCommandId
public void setCommandId(String commandId)
(Optional) The invocations for a specific command ID.
- Parameters:
commandId
- (Optional) The invocations for a specific command ID.
-
getCommandId
public String getCommandId()
(Optional) The invocations for a specific command ID.
- Returns:
- (Optional) The invocations for a specific command ID.
-
withCommandId
public ListCommandInvocationsRequest withCommandId(String commandId)
(Optional) The invocations for a specific command ID.
- Parameters:
commandId
- (Optional) The invocations for a specific command ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstanceId
public void setInstanceId(String instanceId)
(Optional) The command execution details for a specific instance ID.
- Parameters:
instanceId
- (Optional) The command execution details for a specific instance ID.
-
getInstanceId
public String getInstanceId()
(Optional) The command execution details for a specific instance ID.
- Returns:
- (Optional) The command execution details for a specific instance ID.
-
withInstanceId
public ListCommandInvocationsRequest withInstanceId(String instanceId)
(Optional) The command execution details for a specific instance ID.
- Parameters:
instanceId
- (Optional) The command execution details for a specific instance ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxResults
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.
- 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
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.
- 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
public ListCommandInvocationsRequest 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.
- 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
public void setNextToken(String nextToken)
(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
public String 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
public ListCommandInvocationsRequest withNextToken(String nextToken)
(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
public List<CommandFilter> 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
public void setFilters(Collection<CommandFilter> filters)
(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
public ListCommandInvocationsRequest 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)
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
public ListCommandInvocationsRequest withFilters(Collection<CommandFilter> filters)
(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.
-
setDetails
public void setDetails(Boolean details)
(Optional) If set this returns the response of the command executions and any command output. By default this is set to False.
- Parameters:
details
- (Optional) If set this returns the response of the command executions and any command output. By default this is set to False.
-
getDetails
public Boolean getDetails()
(Optional) If set this returns the response of the command executions and any command output. By default this is set to False.
- Returns:
- (Optional) If set this returns the response of the command executions and any command output. By default this is set to False.
-
withDetails
public ListCommandInvocationsRequest withDetails(Boolean details)
(Optional) If set this returns the response of the command executions and any command output. By default this is set to False.
- Parameters:
details
- (Optional) If set this returns the response of the command executions and any command output. By default this is set to False.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isDetails
public Boolean isDetails()
(Optional) If set this returns the response of the command executions and any command output. By default this is set to False.
- Returns:
- (Optional) If set this returns the response of the command executions and any command output. By default this is set to False.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListCommandInvocationsRequest 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:
Object.clone()
-
-