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