@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceState extends Object implements Serializable, Cloneable, StructuredPojo
The current state of an impacted resource.
| Constructor and Description |
|---|
ResourceState() |
| Modifier and Type | Method and Description |
|---|---|
ResourceState |
clone() |
boolean |
equals(Object obj) |
String |
getStatus()
Shows the current lifecycle policy action that was applied to an impacted resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setStatus(String status)
Shows the current lifecycle policy action that was applied to an impacted resource.
|
String |
toString()
Returns a string representation of this object.
|
ResourceState |
withStatus(ResourceStatus status)
Shows the current lifecycle policy action that was applied to an impacted resource.
|
ResourceState |
withStatus(String status)
Shows the current lifecycle policy action that was applied to an impacted resource.
|
public void setStatus(String status)
Shows the current lifecycle policy action that was applied to an impacted resource.
status - Shows the current lifecycle policy action that was applied to an impacted resource.ResourceStatuspublic String getStatus()
Shows the current lifecycle policy action that was applied to an impacted resource.
ResourceStatuspublic ResourceState withStatus(String status)
Shows the current lifecycle policy action that was applied to an impacted resource.
status - Shows the current lifecycle policy action that was applied to an impacted resource.ResourceStatuspublic ResourceState withStatus(ResourceStatus status)
Shows the current lifecycle policy action that was applied to an impacted resource.
status - Shows the current lifecycle policy action that was applied to an impacted resource.ResourceStatuspublic String toString()
toString in class ObjectObject.toString()public ResourceState clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.