Class ActionState
- java.lang.Object
-
- com.amazonaws.services.codepipeline.model.ActionState
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ActionState extends Object implements Serializable, Cloneable
Represents information about the state of an action.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActionState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionState
clone()
boolean
equals(Object obj)
String
getActionName()
The name of the action.ActionRevision
getCurrentRevision()
String
getEntityUrl()
A URL link for more information about the state of the action, such as a deployment group details page.ActionExecution
getLatestExecution()
String
getRevisionUrl()
A URL link for more information about the revision, such as a commit details page.int
hashCode()
void
setActionName(String actionName)
The name of the action.void
setCurrentRevision(ActionRevision currentRevision)
void
setEntityUrl(String entityUrl)
A URL link for more information about the state of the action, such as a deployment group details page.void
setLatestExecution(ActionExecution latestExecution)
void
setRevisionUrl(String revisionUrl)
A URL link for more information about the revision, such as a commit details page.String
toString()
Returns a string representation of this object; useful for testing and debugging.ActionState
withActionName(String actionName)
The name of the action.ActionState
withCurrentRevision(ActionRevision currentRevision)
ActionState
withEntityUrl(String entityUrl)
A URL link for more information about the state of the action, such as a deployment group details page.ActionState
withLatestExecution(ActionExecution latestExecution)
ActionState
withRevisionUrl(String revisionUrl)
A URL link for more information about the revision, such as a commit details page.
-
-
-
Method Detail
-
setActionName
public void setActionName(String actionName)
The name of the action.
- Parameters:
actionName
- The name of the action.
-
getActionName
public String getActionName()
The name of the action.
- Returns:
- The name of the action.
-
withActionName
public ActionState withActionName(String actionName)
The name of the action.
- Parameters:
actionName
- The name of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCurrentRevision
public void setCurrentRevision(ActionRevision currentRevision)
- Parameters:
currentRevision
-
-
getCurrentRevision
public ActionRevision getCurrentRevision()
- Returns:
-
withCurrentRevision
public ActionState withCurrentRevision(ActionRevision currentRevision)
- Parameters:
currentRevision
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLatestExecution
public void setLatestExecution(ActionExecution latestExecution)
- Parameters:
latestExecution
-
-
getLatestExecution
public ActionExecution getLatestExecution()
- Returns:
-
withLatestExecution
public ActionState withLatestExecution(ActionExecution latestExecution)
- Parameters:
latestExecution
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEntityUrl
public void setEntityUrl(String entityUrl)
A URL link for more information about the state of the action, such as a deployment group details page.
- Parameters:
entityUrl
- A URL link for more information about the state of the action, such as a deployment group details page.
-
getEntityUrl
public String getEntityUrl()
A URL link for more information about the state of the action, such as a deployment group details page.
- Returns:
- A URL link for more information about the state of the action, such as a deployment group details page.
-
withEntityUrl
public ActionState withEntityUrl(String entityUrl)
A URL link for more information about the state of the action, such as a deployment group details page.
- Parameters:
entityUrl
- A URL link for more information about the state of the action, such as a deployment group details page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRevisionUrl
public void setRevisionUrl(String revisionUrl)
A URL link for more information about the revision, such as a commit details page.
- Parameters:
revisionUrl
- A URL link for more information about the revision, such as a commit details page.
-
getRevisionUrl
public String getRevisionUrl()
A URL link for more information about the revision, such as a commit details page.
- Returns:
- A URL link for more information about the revision, such as a commit details page.
-
withRevisionUrl
public ActionState withRevisionUrl(String revisionUrl)
A URL link for more information about the revision, such as a commit details page.
- Parameters:
revisionUrl
- A URL link for more information about the revision, such as a commit details page.- 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 ActionState clone()
-
-