@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) |
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 |
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 |
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 String toString()
toString in class ObjectObject.toString()public FailureConditions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.