Class ActionRevision
- java.lang.Object
-
- com.amazonaws.services.codepipeline.model.ActionRevision
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ActionRevision extends Object implements Serializable, Cloneable
Represents information about the version (or revision) of an action.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActionRevision()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionRevision
clone()
boolean
equals(Object obj)
Date
getCreated()
The date and time when the most recent version of the action was created, in timestamp format.String
getRevisionChangeId()
The unique identifier of the change that set the state to this revision, for example a deployment ID or timestamp.String
getRevisionId()
The system-generated unique ID that identifies the revision number of the action.int
hashCode()
void
setCreated(Date created)
The date and time when the most recent version of the action was created, in timestamp format.void
setRevisionChangeId(String revisionChangeId)
The unique identifier of the change that set the state to this revision, for example a deployment ID or timestamp.void
setRevisionId(String revisionId)
The system-generated unique ID that identifies the revision number of the action.String
toString()
Returns a string representation of this object; useful for testing and debugging.ActionRevision
withCreated(Date created)
The date and time when the most recent version of the action was created, in timestamp format.ActionRevision
withRevisionChangeId(String revisionChangeId)
The unique identifier of the change that set the state to this revision, for example a deployment ID or timestamp.ActionRevision
withRevisionId(String revisionId)
The system-generated unique ID that identifies the revision number of the action.
-
-
-
Method Detail
-
setRevisionId
public void setRevisionId(String revisionId)
The system-generated unique ID that identifies the revision number of the action.
- Parameters:
revisionId
- The system-generated unique ID that identifies the revision number of the action.
-
getRevisionId
public String getRevisionId()
The system-generated unique ID that identifies the revision number of the action.
- Returns:
- The system-generated unique ID that identifies the revision number of the action.
-
withRevisionId
public ActionRevision withRevisionId(String revisionId)
The system-generated unique ID that identifies the revision number of the action.
- Parameters:
revisionId
- The system-generated unique ID that identifies the revision number of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRevisionChangeId
public void setRevisionChangeId(String revisionChangeId)
The unique identifier of the change that set the state to this revision, for example a deployment ID or timestamp.
- Parameters:
revisionChangeId
- The unique identifier of the change that set the state to this revision, for example a deployment ID or timestamp.
-
getRevisionChangeId
public String getRevisionChangeId()
The unique identifier of the change that set the state to this revision, for example a deployment ID or timestamp.
- Returns:
- The unique identifier of the change that set the state to this revision, for example a deployment ID or timestamp.
-
withRevisionChangeId
public ActionRevision withRevisionChangeId(String revisionChangeId)
The unique identifier of the change that set the state to this revision, for example a deployment ID or timestamp.
- Parameters:
revisionChangeId
- The unique identifier of the change that set the state to this revision, for example a deployment ID or timestamp.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreated
public void setCreated(Date created)
The date and time when the most recent version of the action was created, in timestamp format.
- Parameters:
created
- The date and time when the most recent version of the action was created, in timestamp format.
-
getCreated
public Date getCreated()
The date and time when the most recent version of the action was created, in timestamp format.
- Returns:
- The date and time when the most recent version of the action was created, in timestamp format.
-
withCreated
public ActionRevision withCreated(Date created)
The date and time when the most recent version of the action was created, in timestamp format.
- Parameters:
created
- The date and time when the most recent version of the action was created, in timestamp format.- 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 ActionRevision clone()
-
-