@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)
Marshalls this structured data using the given
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.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 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.