@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FailureConditions extends Object implements Serializable, Cloneable, StructuredPojo
The configuration that specifies the result, such as rollback, to occur upon stage failure.
| Constructor and Description |
|---|
FailureConditions () |
| Modifier and Type | Method and Description |
|---|---|
FailureConditions |
clone () |
boolean |
equals (Object obj) |
List<Condition> |
getConditions ()
The conditions that are configured as failure conditions.
|
String |
getResult ()
The specified result for when the failure conditions are met, such as rolling back the stage.
|
int |
hashCode () |
void |
marshall (ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setConditions (Collection<Condition> conditions)
The conditions that are configured as failure conditions.
|
void |
setResult (String result)
The specified result for when the failure conditions are met, such as rolling back the stage.
|
String |
toString ()
Returns a string representation of this object.
|
FailureConditions |
withConditions (Collection<Condition> conditions)
The conditions that are configured as failure conditions.
|
FailureConditions |
withConditions (Condition... conditions)
The conditions that are configured as failure conditions.
|
FailureConditions |
withResult (Result result)
The specified result for when the failure conditions are met, such as rolling back the stage.
|
FailureConditions |
withResult (String result)
The specified result for when the failure conditions are met, such as rolling back the stage.
|
public FailureConditions()
public void setResult(String result)
The specified result for when the failure conditions are met, such as rolling back the stage.
result - The specified result for when the failure conditions are met, such as rolling back the stage.Result public String getResult()
The specified result for when the failure conditions are met, such as rolling back the stage.
Result public FailureConditions withResult(String result)
The specified result for when the failure conditions are met, such as rolling back the stage.
result - The specified result for when the failure conditions are met, such as rolling back the stage.Result public FailureConditions withResult(Result result)
The specified result for when the failure conditions are met, such as rolling back the stage.
result - The specified result for when the failure conditions are met, such as rolling back the stage.Result public List<Condition> getConditions()
The conditions that are configured as failure conditions.
public void setConditions(Collection<Condition> conditions)
The conditions that are configured as failure conditions.
conditions - The conditions that are configured as failure conditions.public FailureConditions withConditions(Condition... conditions)
The conditions that are configured as failure conditions.
NOTE: This method appends the values to the existing list (if any). Use
setConditions(java.util.Collection) or withConditions(java.util.Collection) if you want to
override the existing values.
conditions - The conditions that are configured as failure conditions.public FailureConditions withConditions(Collection<Condition> conditions)
The conditions that are configured as failure conditions.
conditions - The conditions that are configured as failure conditions.public String toString()
toString in class Object Object.toString() public FailureConditions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo ProtocolMarshaller.marshall in interface StructuredPojo protocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.