@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StageDeclaration extends Object implements Serializable, Cloneable, StructuredPojo
Represents information about a stage and its definition.
Constructor and Description |
---|
StageDeclaration() |
Modifier and Type | Method and Description |
---|---|
StageDeclaration |
clone() |
boolean |
equals(Object obj) |
List<ActionDeclaration> |
getActions()
The actions included in a stage.
|
List<BlockerDeclaration> |
getBlockers()
Reserved for future use.
|
String |
getName()
The name of the stage.
|
FailureConditions |
getOnFailure()
The method to use when a stage has not completed successfully.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActions(Collection<ActionDeclaration> actions)
The actions included in a stage.
|
void |
setBlockers(Collection<BlockerDeclaration> blockers)
Reserved for future use.
|
void |
setName(String name)
The name of the stage.
|
void |
setOnFailure(FailureConditions onFailure)
The method to use when a stage has not completed successfully.
|
String |
toString()
Returns a string representation of this object.
|
StageDeclaration |
withActions(ActionDeclaration... actions)
The actions included in a stage.
|
StageDeclaration |
withActions(Collection<ActionDeclaration> actions)
The actions included in a stage.
|
StageDeclaration |
withBlockers(BlockerDeclaration... blockers)
Reserved for future use.
|
StageDeclaration |
withBlockers(Collection<BlockerDeclaration> blockers)
Reserved for future use.
|
StageDeclaration |
withName(String name)
The name of the stage.
|
StageDeclaration |
withOnFailure(FailureConditions onFailure)
The method to use when a stage has not completed successfully.
|
public void setName(String name)
The name of the stage.
name
- The name of the stage.public String getName()
The name of the stage.
public StageDeclaration withName(String name)
The name of the stage.
name
- The name of the stage.public List<BlockerDeclaration> getBlockers()
Reserved for future use.
public void setBlockers(Collection<BlockerDeclaration> blockers)
Reserved for future use.
blockers
- Reserved for future use.public StageDeclaration withBlockers(BlockerDeclaration... blockers)
Reserved for future use.
NOTE: This method appends the values to the existing list (if any). Use
setBlockers(java.util.Collection)
or withBlockers(java.util.Collection)
if you want to override
the existing values.
blockers
- Reserved for future use.public StageDeclaration withBlockers(Collection<BlockerDeclaration> blockers)
Reserved for future use.
blockers
- Reserved for future use.public List<ActionDeclaration> getActions()
The actions included in a stage.
public void setActions(Collection<ActionDeclaration> actions)
The actions included in a stage.
actions
- The actions included in a stage.public StageDeclaration withActions(ActionDeclaration... actions)
The actions included in a stage.
NOTE: This method appends the values to the existing list (if any). Use
setActions(java.util.Collection)
or withActions(java.util.Collection)
if you want to override
the existing values.
actions
- The actions included in a stage.public StageDeclaration withActions(Collection<ActionDeclaration> actions)
The actions included in a stage.
actions
- The actions included in a stage.public void setOnFailure(FailureConditions onFailure)
The method to use when a stage has not completed successfully. For example, configuring this field for rollback will roll back a failed stage automatically to the last successful pipeline execution in the stage.
onFailure
- The method to use when a stage has not completed successfully. For example, configuring this field for
rollback will roll back a failed stage automatically to the last successful pipeline execution in the
stage.public FailureConditions getOnFailure()
The method to use when a stage has not completed successfully. For example, configuring this field for rollback will roll back a failed stage automatically to the last successful pipeline execution in the stage.
public StageDeclaration withOnFailure(FailureConditions onFailure)
The method to use when a stage has not completed successfully. For example, configuring this field for rollback will roll back a failed stage automatically to the last successful pipeline execution in the stage.
onFailure
- The method to use when a stage has not completed successfully. For example, configuring this field for
rollback will roll back a failed stage automatically to the last successful pipeline execution in the
stage.public String toString()
toString
in class Object
Object.toString()
public StageDeclaration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.