Class BatchGetDeploymentInstancesResult

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

public class BatchGetDeploymentInstancesResult extends Object implements Serializable, Cloneable

Represents the output of a batch get deployment instance operation.

See Also:
  • Constructor Details

    • BatchGetDeploymentInstancesResult

      public BatchGetDeploymentInstancesResult()
  • Method Details

    • getInstancesSummary

      public List<InstanceSummary> getInstancesSummary()

      Information about the instance.

      Returns:
      Information about the instance.
    • setInstancesSummary

      public void setInstancesSummary(Collection<InstanceSummary> instancesSummary)

      Information about the instance.

      Parameters:
      instancesSummary - Information about the instance.
    • withInstancesSummary

      public BatchGetDeploymentInstancesResult withInstancesSummary(InstanceSummary... instancesSummary)

      Information about the instance.

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

      Parameters:
      instancesSummary - Information about the instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withInstancesSummary

      public BatchGetDeploymentInstancesResult withInstancesSummary(Collection<InstanceSummary> instancesSummary)

      Information about the instance.

      Parameters:
      instancesSummary - Information about the instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setErrorMessage

      public void setErrorMessage(String errorMessage)

      Information about errors that may have occurred during the API call.

      Parameters:
      errorMessage - Information about errors that may have occurred during the API call.
    • getErrorMessage

      public String getErrorMessage()

      Information about errors that may have occurred during the API call.

      Returns:
      Information about errors that may have occurred during the API call.
    • withErrorMessage

      public BatchGetDeploymentInstancesResult withErrorMessage(String errorMessage)

      Information about errors that may have occurred during the API call.

      Parameters:
      errorMessage - Information about errors that may have occurred during the API call.
      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

      Overrides:
      clone in class Object