@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.ResourceStatus
public String getStatus()
Shows the current lifecycle policy action that was applied to an impacted resource.
ResourceStatus
public 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.ResourceStatus
public 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.ResourceStatus
public String toString()
toString
in class Object
Object.toString()
public ResourceState clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.