Class CurrentRevision
java.lang.Object
com.amazonaws.services.codepipeline.model.CurrentRevision
- All Implemented Interfaces:
Serializable
,Cloneable
Represents information about a current revision.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The change identifier for the current revision.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.toString()
Returns a string representation of this object; useful for testing and debugging.withChangeIdentifier
(String changeIdentifier) The change identifier for the current revision.withRevision
(String revision) The revision ID of the current version of an artifact.
-
Constructor Details
-
CurrentRevision
public CurrentRevision()
-
-
Method Details
-
setRevision
The revision ID of the current version of an artifact.
- Parameters:
revision
- The revision ID of the current version of an artifact.
-
getRevision
The revision ID of the current version of an artifact.
- Returns:
- The revision ID of the current version of an artifact.
-
withRevision
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
The change identifier for the current revision.
- Parameters:
changeIdentifier
- The change identifier for the current revision.
-
getChangeIdentifier
The change identifier for the current revision.
- Returns:
- The change identifier for the current revision.
-
withChangeIdentifier
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-