Class BatchGetApplicationRevisionsResult

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

public class BatchGetApplicationRevisionsResult extends Object implements Serializable, Cloneable

Represents the output of a batch get application revisions operation.

See Also:
  • Constructor Details

    • BatchGetApplicationRevisionsResult

      public BatchGetApplicationRevisionsResult()
  • Method Details

    • setApplicationName

      public void setApplicationName(String applicationName)

      The name of the application that corresponds to the revisions.

      Parameters:
      applicationName - The name of the application that corresponds to the revisions.
    • getApplicationName

      public String getApplicationName()

      The name of the application that corresponds to the revisions.

      Returns:
      The name of the application that corresponds to the revisions.
    • withApplicationName

      public BatchGetApplicationRevisionsResult withApplicationName(String applicationName)

      The name of the application that corresponds to the revisions.

      Parameters:
      applicationName - The name of the application that corresponds to the revisions.
      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 BatchGetApplicationRevisionsResult 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.
    • getRevisions

      public List<RevisionInfo> getRevisions()

      Additional information about the revisions, including the type and location.

      Returns:
      Additional information about the revisions, including the type and location.
    • setRevisions

      public void setRevisions(Collection<RevisionInfo> revisions)

      Additional information about the revisions, including the type and location.

      Parameters:
      revisions - Additional information about the revisions, including the type and location.
    • withRevisions

      public BatchGetApplicationRevisionsResult withRevisions(RevisionInfo... revisions)

      Additional information about the revisions, including the type and location.

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

      Parameters:
      revisions - Additional information about the revisions, including the type and location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withRevisions

      public BatchGetApplicationRevisionsResult withRevisions(Collection<RevisionInfo> revisions)

      Additional information about the revisions, including the type and location.

      Parameters:
      revisions - Additional information about the revisions, including the type and location.
      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