Class ListApplicationRevisionsResult

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

public class ListApplicationRevisionsResult extends Object implements Serializable, Cloneable

Represents the output of a list application revisions operation.

See Also:
  • Constructor Details

    • ListApplicationRevisionsResult

      public ListApplicationRevisionsResult()
  • Method Details

    • getRevisions

      public List<RevisionLocation> getRevisions()

      A list of locations that contain the matching revisions.

      Returns:
      A list of locations that contain the matching revisions.
    • setRevisions

      public void setRevisions(Collection<RevisionLocation> revisions)

      A list of locations that contain the matching revisions.

      Parameters:
      revisions - A list of locations that contain the matching revisions.
    • withRevisions

      public ListApplicationRevisionsResult withRevisions(RevisionLocation... revisions)

      A list of locations that contain the matching revisions.

      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 - A list of locations that contain the matching revisions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withRevisions

      public ListApplicationRevisionsResult withRevisions(Collection<RevisionLocation> revisions)

      A list of locations that contain the matching revisions.

      Parameters:
      revisions - A list of locations that contain the matching revisions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setNextToken

      public void setNextToken(String nextToken)

      If a large amount of information is returned, an identifier will also be returned. It can be used in a subsequent list application revisions call to return the next set of application revisions in the list.

      Parameters:
      nextToken - If a large amount of information is returned, an identifier will also be returned. It can be used in a subsequent list application revisions call to return the next set of application revisions in the list.
    • getNextToken

      public String getNextToken()

      If a large amount of information is returned, an identifier will also be returned. It can be used in a subsequent list application revisions call to return the next set of application revisions in the list.

      Returns:
      If a large amount of information is returned, an identifier will also be returned. It can be used in a subsequent list application revisions call to return the next set of application revisions in the list.
    • withNextToken

      public ListApplicationRevisionsResult withNextToken(String nextToken)

      If a large amount of information is returned, an identifier will also be returned. It can be used in a subsequent list application revisions call to return the next set of application revisions in the list.

      Parameters:
      nextToken - If a large amount of information is returned, an identifier will also be returned. It can be used in a subsequent list application revisions call to return the next set of application revisions in the list.
      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