Class DescribeDeploymentsRequest

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

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

    • DescribeDeploymentsRequest

      public DescribeDeploymentsRequest()
  • Method Details

    • setStackId

      public void setStackId(String stackId)

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

      Parameters:
      stackId - The stack ID. If you include this parameter, DescribeDeployments returns a description of the commands associated with the specified stack.
    • getStackId

      public String getStackId()

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

      Returns:
      The stack ID. If you include this parameter, DescribeDeployments returns a description of the commands associated with the specified stack.
    • withStackId

      public DescribeDeploymentsRequest withStackId(String stackId)

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

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

      public void setAppId(String appId)

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

      Parameters:
      appId - The app ID. If you include this parameter, DescribeDeployments returns a description of the commands associated with the specified app.
    • getAppId

      public String getAppId()

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

      Returns:
      The app ID. If you include this parameter, DescribeDeployments returns a description of the commands associated with the specified app.
    • withAppId

      public DescribeDeploymentsRequest withAppId(String appId)

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

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

      public List<String> getDeploymentIds()

      An array of deployment IDs to be described. If you include this parameter, DescribeDeployments returns a description of the specified deployments. Otherwise, it returns a description of every deployment.

      Returns:
      An array of deployment IDs to be described. If you include this parameter, DescribeDeployments returns a description of the specified deployments. Otherwise, it returns a description of every deployment.
    • setDeploymentIds

      public void setDeploymentIds(Collection<String> deploymentIds)

      An array of deployment IDs to be described. If you include this parameter, DescribeDeployments returns a description of the specified deployments. Otherwise, it returns a description of every deployment.

      Parameters:
      deploymentIds - An array of deployment IDs to be described. If you include this parameter, DescribeDeployments returns a description of the specified deployments. Otherwise, it returns a description of every deployment.
    • withDeploymentIds

      public DescribeDeploymentsRequest withDeploymentIds(String... deploymentIds)

      An array of deployment IDs to be described. If you include this parameter, DescribeDeployments returns a description of the specified deployments. Otherwise, it returns a description of every deployment.

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

      Parameters:
      deploymentIds - An array of deployment IDs to be described. If you include this parameter, DescribeDeployments returns a description of the specified deployments. Otherwise, it returns a description of every deployment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withDeploymentIds

      public DescribeDeploymentsRequest withDeploymentIds(Collection<String> deploymentIds)

      An array of deployment IDs to be described. If you include this parameter, DescribeDeployments returns a description of the specified deployments. Otherwise, it returns a description of every deployment.

      Parameters:
      deploymentIds - An array of deployment IDs to be described. If you include this parameter, DescribeDeployments returns a description of the specified deployments. Otherwise, it returns a description of every deployment.
      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

      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: