Class BatchGetDeploymentsResult

java.lang.Object
com.amazonaws.services.codedeploy.model.BatchGetDeploymentsResult
All Implemented Interfaces:
Serializable, Cloneable

public class BatchGetDeploymentsResult extends Object implements Serializable, Cloneable

Represents the output of a batch get deployments operation.

See Also:
  • Constructor Details

    • BatchGetDeploymentsResult

      public BatchGetDeploymentsResult()
  • Method Details

    • getDeploymentsInfo

      public List<DeploymentInfo> getDeploymentsInfo()

      Information about the deployments.

      Returns:
      Information about the deployments.
    • setDeploymentsInfo

      public void setDeploymentsInfo(Collection<DeploymentInfo> deploymentsInfo)

      Information about the deployments.

      Parameters:
      deploymentsInfo - Information about the deployments.
    • withDeploymentsInfo

      public BatchGetDeploymentsResult withDeploymentsInfo(DeploymentInfo... deploymentsInfo)

      Information about the deployments.

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

      Parameters:
      deploymentsInfo - Information about the deployments.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withDeploymentsInfo

      public BatchGetDeploymentsResult withDeploymentsInfo(Collection<DeploymentInfo> deploymentsInfo)

      Information about the deployments.

      Parameters:
      deploymentsInfo - Information about the deployments.
      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 BatchGetDeploymentsResult clone()
      Overrides:
      clone in class Object