Class StageState
- java.lang.Object
-
- com.amazonaws.services.codepipeline.model.StageState
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class StageState extends Object implements Serializable, Cloneable
Represents information about the state of the stage.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StageState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StageState
clone()
boolean
equals(Object obj)
List<ActionState>
getActionStates()
The state of the stage.TransitionState
getInboundTransitionState()
The state of the inbound transition, which is either enabled or disabled.String
getStageName()
The name of the stage.int
hashCode()
void
setActionStates(Collection<ActionState> actionStates)
The state of the stage.void
setInboundTransitionState(TransitionState inboundTransitionState)
The state of the inbound transition, which is either enabled or disabled.void
setStageName(String stageName)
The name of the stage.String
toString()
Returns a string representation of this object; useful for testing and debugging.StageState
withActionStates(ActionState... actionStates)
The state of the stage.StageState
withActionStates(Collection<ActionState> actionStates)
The state of the stage.StageState
withInboundTransitionState(TransitionState inboundTransitionState)
The state of the inbound transition, which is either enabled or disabled.StageState
withStageName(String stageName)
The name of the stage.
-
-
-
Method Detail
-
setStageName
public void setStageName(String stageName)
The name of the stage.
- Parameters:
stageName
- The name of the stage.
-
getStageName
public String getStageName()
The name of the stage.
- Returns:
- The name of the stage.
-
withStageName
public StageState withStageName(String stageName)
The name of the stage.
- Parameters:
stageName
- The name of the stage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInboundTransitionState
public void setInboundTransitionState(TransitionState inboundTransitionState)
The state of the inbound transition, which is either enabled or disabled.
- Parameters:
inboundTransitionState
- The state of the inbound transition, which is either enabled or disabled.
-
getInboundTransitionState
public TransitionState getInboundTransitionState()
The state of the inbound transition, which is either enabled or disabled.
- Returns:
- The state of the inbound transition, which is either enabled or disabled.
-
withInboundTransitionState
public StageState withInboundTransitionState(TransitionState inboundTransitionState)
The state of the inbound transition, which is either enabled or disabled.
- Parameters:
inboundTransitionState
- The state of the inbound transition, which is either enabled or disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getActionStates
public List<ActionState> getActionStates()
The state of the stage.
- Returns:
- The state of the stage.
-
setActionStates
public void setActionStates(Collection<ActionState> actionStates)
The state of the stage.
- Parameters:
actionStates
- The state of the stage.
-
withActionStates
public StageState withActionStates(ActionState... actionStates)
The state of the stage.
NOTE: This method appends the values to the existing list (if any). Use
setActionStates(java.util.Collection)
orwithActionStates(java.util.Collection)
if you want to override the existing values.- Parameters:
actionStates
- The state of the stage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withActionStates
public StageState withActionStates(Collection<ActionState> actionStates)
The state of the stage.
- Parameters:
actionStates
- The state of the stage.- 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 StageState clone()
-
-