@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LifecycleExecutionState extends Object implements Serializable, Cloneable, StructuredPojo
The current state of the runtime instance of the lifecycle policy.
| Constructor and Description |
|---|
LifecycleExecutionState() |
| Modifier and Type | Method and Description |
|---|---|
LifecycleExecutionState |
clone() |
boolean |
equals(Object obj) |
String |
getReason()
The reason for the current status.
|
String |
getStatus()
The runtime status of the lifecycle execution.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setReason(String reason)
The reason for the current status.
|
void |
setStatus(String status)
The runtime status of the lifecycle execution.
|
String |
toString()
Returns a string representation of this object.
|
LifecycleExecutionState |
withReason(String reason)
The reason for the current status.
|
LifecycleExecutionState |
withStatus(LifecycleExecutionStatus status)
The runtime status of the lifecycle execution.
|
LifecycleExecutionState |
withStatus(String status)
The runtime status of the lifecycle execution.
|
public void setStatus(String status)
The runtime status of the lifecycle execution.
status - The runtime status of the lifecycle execution.LifecycleExecutionStatuspublic String getStatus()
The runtime status of the lifecycle execution.
LifecycleExecutionStatuspublic LifecycleExecutionState withStatus(String status)
The runtime status of the lifecycle execution.
status - The runtime status of the lifecycle execution.LifecycleExecutionStatuspublic LifecycleExecutionState withStatus(LifecycleExecutionStatus status)
The runtime status of the lifecycle execution.
status - The runtime status of the lifecycle execution.LifecycleExecutionStatuspublic void setReason(String reason)
The reason for the current status.
reason - The reason for the current status.public String getReason()
The reason for the current status.
public LifecycleExecutionState withReason(String reason)
The reason for the current status.
reason - The reason for the current status.public String toString()
toString in class ObjectObject.toString()public LifecycleExecutionState clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.