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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CurrentRevision()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CurrentRevisionclone()booleanequals(Object obj)StringgetChangeIdentifier()The change identifier for the current revision.StringgetRevision()The revision ID of the current version of an artifact.inthashCode()voidsetChangeIdentifier(String changeIdentifier)The change identifier for the current revision.voidsetRevision(String revision)The revision ID of the current version of an artifact.StringtoString()Returns a string representation of this object; useful for testing and debugging.CurrentRevisionwithChangeIdentifier(String changeIdentifier)The change identifier for the current revision.CurrentRevisionwithRevision(String revision)The revision ID of the current version of an artifact.
-
-
-
Method Detail
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CurrentRevision clone()
-
-