@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LifecycleExecutionResourceAction extends Object implements Serializable, Cloneable, StructuredPojo
The lifecycle policy action that was identified for the impacted resource.
| Constructor and Description |
|---|
LifecycleExecutionResourceAction() |
| Modifier and Type | Method and Description |
|---|---|
LifecycleExecutionResourceAction |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the resource that was identified for a lifecycle policy action.
|
String |
getReason()
The reason why the lifecycle policy action is taken.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName(String name)
The name of the resource that was identified for a lifecycle policy action.
|
void |
setReason(String reason)
The reason why the lifecycle policy action is taken.
|
String |
toString()
Returns a string representation of this object.
|
LifecycleExecutionResourceAction |
withName(LifecycleExecutionResourceActionName name)
The name of the resource that was identified for a lifecycle policy action.
|
LifecycleExecutionResourceAction |
withName(String name)
The name of the resource that was identified for a lifecycle policy action.
|
LifecycleExecutionResourceAction |
withReason(String reason)
The reason why the lifecycle policy action is taken.
|
public void setName(String name)
The name of the resource that was identified for a lifecycle policy action.
name - The name of the resource that was identified for a lifecycle policy action.LifecycleExecutionResourceActionNamepublic String getName()
The name of the resource that was identified for a lifecycle policy action.
LifecycleExecutionResourceActionNamepublic LifecycleExecutionResourceAction withName(String name)
The name of the resource that was identified for a lifecycle policy action.
name - The name of the resource that was identified for a lifecycle policy action.LifecycleExecutionResourceActionNamepublic LifecycleExecutionResourceAction withName(LifecycleExecutionResourceActionName name)
The name of the resource that was identified for a lifecycle policy action.
name - The name of the resource that was identified for a lifecycle policy action.LifecycleExecutionResourceActionNamepublic void setReason(String reason)
The reason why the lifecycle policy action is taken.
reason - The reason why the lifecycle policy action is taken.public String getReason()
The reason why the lifecycle policy action is taken.
public LifecycleExecutionResourceAction withReason(String reason)
The reason why the lifecycle policy action is taken.
reason - The reason why the lifecycle policy action is taken.public String toString()
toString in class ObjectObject.toString()public LifecycleExecutionResourceAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.