@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StageState extends Object implements Serializable, Cloneable, StructuredPojo
Represents information about the state of the stage.
Constructor and Description |
---|
StageState() |
Modifier and Type | Method and Description |
---|---|
StageState |
clone() |
boolean |
equals(Object obj) |
List<ActionState> |
getActionStates()
The state of the stage.
|
StageExecution |
getInboundExecution() |
List<StageExecution> |
getInboundExecutions()
The inbound executions for a stage.
|
TransitionState |
getInboundTransitionState()
The state of the inbound transition, which is either enabled or disabled.
|
StageExecution |
getLatestExecution()
Information about the latest execution in the stage, including its ID and status.
|
String |
getStageName()
The name of the stage.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActionStates(Collection<ActionState> actionStates)
The state of the stage.
|
void |
setInboundExecution(StageExecution inboundExecution) |
void |
setInboundExecutions(Collection<StageExecution> inboundExecutions)
The inbound executions for a stage.
|
void |
setInboundTransitionState(TransitionState inboundTransitionState)
The state of the inbound transition, which is either enabled or disabled.
|
void |
setLatestExecution(StageExecution latestExecution)
Information about the latest execution in the stage, including its ID and status.
|
void |
setStageName(String stageName)
The name of the stage.
|
String |
toString()
Returns a string representation of this object.
|
StageState |
withActionStates(ActionState... actionStates)
The state of the stage.
|
StageState |
withActionStates(Collection<ActionState> actionStates)
The state of the stage.
|
StageState |
withInboundExecution(StageExecution inboundExecution) |
StageState |
withInboundExecutions(Collection<StageExecution> inboundExecutions)
The inbound executions for a stage.
|
StageState |
withInboundExecutions(StageExecution... inboundExecutions)
The inbound executions for a stage.
|
StageState |
withInboundTransitionState(TransitionState inboundTransitionState)
The state of the inbound transition, which is either enabled or disabled.
|
StageState |
withLatestExecution(StageExecution latestExecution)
Information about the latest execution in the stage, including its ID and status.
|
StageState |
withStageName(String stageName)
The name of the stage.
|
public void setStageName(String stageName)
The name of the stage.
stageName
- The name of the stage.public String getStageName()
The name of the stage.
public StageState withStageName(String stageName)
The name of the stage.
stageName
- The name of the stage.public void setInboundExecution(StageExecution inboundExecution)
inboundExecution
- public StageExecution getInboundExecution()
public StageState withInboundExecution(StageExecution inboundExecution)
inboundExecution
- public List<StageExecution> getInboundExecutions()
The inbound executions for a stage.
public void setInboundExecutions(Collection<StageExecution> inboundExecutions)
The inbound executions for a stage.
inboundExecutions
- The inbound executions for a stage.public StageState withInboundExecutions(StageExecution... inboundExecutions)
The inbound executions for a stage.
NOTE: This method appends the values to the existing list (if any). Use
setInboundExecutions(java.util.Collection)
or withInboundExecutions(java.util.Collection)
if
you want to override the existing values.
inboundExecutions
- The inbound executions for a stage.public StageState withInboundExecutions(Collection<StageExecution> inboundExecutions)
The inbound executions for a stage.
inboundExecutions
- The inbound executions for a stage.public void setInboundTransitionState(TransitionState inboundTransitionState)
The state of the inbound transition, which is either enabled or disabled.
inboundTransitionState
- The state of the inbound transition, which is either enabled or disabled.public TransitionState getInboundTransitionState()
The state of the inbound transition, which is either enabled or disabled.
public StageState withInboundTransitionState(TransitionState inboundTransitionState)
The state of the inbound transition, which is either enabled or disabled.
inboundTransitionState
- The state of the inbound transition, which is either enabled or disabled.public List<ActionState> getActionStates()
The state of the stage.
public void setActionStates(Collection<ActionState> actionStates)
The state of the stage.
actionStates
- The state of the stage.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)
or withActionStates(java.util.Collection)
if you want to
override the existing values.
actionStates
- The state of the stage.public StageState withActionStates(Collection<ActionState> actionStates)
The state of the stage.
actionStates
- The state of the stage.public void setLatestExecution(StageExecution latestExecution)
Information about the latest execution in the stage, including its ID and status.
latestExecution
- Information about the latest execution in the stage, including its ID and status.public StageExecution getLatestExecution()
Information about the latest execution in the stage, including its ID and status.
public StageState withLatestExecution(StageExecution latestExecution)
Information about the latest execution in the stage, including its ID and status.
latestExecution
- Information about the latest execution in the stage, including its ID and status.public String toString()
toString
in class Object
Object.toString()
public StageState clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.