@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) |
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 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.Resultpublic String getResult()
The specified result for when the failure conditions are met, such as rolling back the stage.
Resultpublic 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.Resultpublic 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.Resultpublic 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 ObjectObject.toString()public FailureConditions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2025. All rights reserved.