Class CurrentRevision

java.lang.Object
com.amazonaws.services.codepipeline.model.CurrentRevision
All Implemented Interfaces:
Serializable, Cloneable

public class CurrentRevision extends Object implements Serializable, Cloneable

Represents information about a current revision.

See Also:
  • Constructor Details

    • CurrentRevision

      public CurrentRevision()
  • Method Details

    • setRevision

      public void setRevision(String revision)

      The revision ID of the current version of an artifact.

      Parameters:
      revision - The revision ID of the current version of an artifact.
    • getRevision

      public String getRevision()

      The revision ID of the current version of an artifact.

      Returns:
      The revision ID of the current version of an artifact.
    • withRevision

      public CurrentRevision withRevision(String revision)

      The revision ID of the current version of an artifact.

      Parameters:
      revision - The revision ID of the current version of an artifact.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setChangeIdentifier

      public void setChangeIdentifier(String changeIdentifier)

      The change identifier for the current revision.

      Parameters:
      changeIdentifier - The change identifier for the current revision.
    • getChangeIdentifier

      public String getChangeIdentifier()

      The change identifier for the current revision.

      Returns:
      The change identifier for the current revision.
    • withChangeIdentifier

      public CurrentRevision withChangeIdentifier(String changeIdentifier)

      The change identifier for the current revision.

      Parameters:
      changeIdentifier - The change identifier for the current revision.
      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 CurrentRevision clone()
      Overrides:
      clone in class Object