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 ActionStateclone()booleanequals(Object obj)StringgetActionName()The name of the action.ActionRevisiongetCurrentRevision()StringgetEntityUrl()A URL link for more information about the state of the action, such as a deployment group details page.ActionExecutiongetLatestExecution()StringgetRevisionUrl()A URL link for more information about the revision, such as a commit details page.inthashCode()voidsetActionName(String actionName)The name of the action.voidsetCurrentRevision(ActionRevision currentRevision)voidsetEntityUrl(String entityUrl)A URL link for more information about the state of the action, such as a deployment group details page.voidsetLatestExecution(ActionExecution latestExecution)voidsetRevisionUrl(String revisionUrl)A URL link for more information about the revision, such as a commit details page.StringtoString()Returns a string representation of this object; useful for testing and debugging.ActionStatewithActionName(String actionName)The name of the action.ActionStatewithCurrentRevision(ActionRevision currentRevision)ActionStatewithEntityUrl(String entityUrl)A URL link for more information about the state of the action, such as a deployment group details page.ActionStatewithLatestExecution(ActionExecution latestExecution)ActionStatewithRevisionUrl(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ActionState clone()
-
-