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:
  • Constructor Details

    • ListCommandInvocationsRequest

      public ListCommandInvocationsRequest()
  • Method Details

    • 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) or withFilters(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.
    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 class AmazonWebServiceRequest
      See Also: