Class DescribeCommandsRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.opsworks.model.DescribeCommandsRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class DescribeCommandsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
See Also:
  • Constructor Details

    • DescribeCommandsRequest

      public DescribeCommandsRequest()
  • Method Details

    • setDeploymentId

      public void setDeploymentId(String deploymentId)

      The deployment ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified deployment.

      Parameters:
      deploymentId - The deployment ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified deployment.
    • getDeploymentId

      public String getDeploymentId()

      The deployment ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified deployment.

      Returns:
      The deployment ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified deployment.
    • withDeploymentId

      public DescribeCommandsRequest withDeploymentId(String deploymentId)

      The deployment ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified deployment.

      Parameters:
      deploymentId - The deployment ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setInstanceId

      public void setInstanceId(String instanceId)

      The instance ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified instance.

      Parameters:
      instanceId - The instance ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified instance.
    • getInstanceId

      public String getInstanceId()

      The instance ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified instance.

      Returns:
      The instance ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified instance.
    • withInstanceId

      public DescribeCommandsRequest withInstanceId(String instanceId)

      The instance ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified instance.

      Parameters:
      instanceId - The instance ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getCommandIds

      public List<String> getCommandIds()

      An array of command IDs. If you include this parameter, DescribeCommands returns a description of the specified commands. Otherwise, it returns a description of every command.

      Returns:
      An array of command IDs. If you include this parameter, DescribeCommands returns a description of the specified commands. Otherwise, it returns a description of every command.
    • setCommandIds

      public void setCommandIds(Collection<String> commandIds)

      An array of command IDs. If you include this parameter, DescribeCommands returns a description of the specified commands. Otherwise, it returns a description of every command.

      Parameters:
      commandIds - An array of command IDs. If you include this parameter, DescribeCommands returns a description of the specified commands. Otherwise, it returns a description of every command.
    • withCommandIds

      public DescribeCommandsRequest withCommandIds(String... commandIds)

      An array of command IDs. If you include this parameter, DescribeCommands returns a description of the specified commands. Otherwise, it returns a description of every command.

      NOTE: This method appends the values to the existing list (if any). Use setCommandIds(java.util.Collection) or withCommandIds(java.util.Collection) if you want to override the existing values.

      Parameters:
      commandIds - An array of command IDs. If you include this parameter, DescribeCommands returns a description of the specified commands. Otherwise, it returns a description of every command.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withCommandIds

      public DescribeCommandsRequest withCommandIds(Collection<String> commandIds)

      An array of command IDs. If you include this parameter, DescribeCommands returns a description of the specified commands. Otherwise, it returns a description of every command.

      Parameters:
      commandIds - An array of command IDs. If you include this parameter, DescribeCommands returns a description of the specified commands. Otherwise, it returns a description of every command.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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

      public DescribeCommandsRequest 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: