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 CurrentRevision
clone()
boolean
equals(Object obj)
String
getChangeIdentifier()
The change identifier for the current revision.String
getRevision()
The revision ID of the current version of an artifact.int
hashCode()
void
setChangeIdentifier(String changeIdentifier)
The change identifier for the current revision.void
setRevision(String revision)
The revision ID of the current version of an artifact.String
toString()
Returns a string representation of this object; useful for testing and debugging.CurrentRevision
withChangeIdentifier(String changeIdentifier)
The change identifier for the current revision.CurrentRevision
withRevision(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CurrentRevision clone()
-
-