@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LifecyclePolicySummary extends Object implements Serializable, Cloneable, StructuredPojo
Summary information about a lifecycle policy.
| Constructor and Description |
|---|
LifecyclePolicySummary() |
| Modifier and Type | Method and Description |
|---|---|
LifecyclePolicySummary |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The description of the lifecycle policy.
|
String |
getPolicyId()
The identifier of the lifecycle policy.
|
String |
getState()
The activation state of the lifecycle policy.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDescription(String description)
The description of the lifecycle policy.
|
void |
setPolicyId(String policyId)
The identifier of the lifecycle policy.
|
void |
setState(String state)
The activation state of the lifecycle policy.
|
String |
toString()
Returns a string representation of this object.
|
LifecyclePolicySummary |
withDescription(String description)
The description of the lifecycle policy.
|
LifecyclePolicySummary |
withPolicyId(String policyId)
The identifier of the lifecycle policy.
|
LifecyclePolicySummary |
withState(GettablePolicyStateValues state)
The activation state of the lifecycle policy.
|
LifecyclePolicySummary |
withState(String state)
The activation state of the lifecycle policy.
|
public void setPolicyId(String policyId)
The identifier of the lifecycle policy.
policyId - The identifier of the lifecycle policy.public String getPolicyId()
The identifier of the lifecycle policy.
public LifecyclePolicySummary withPolicyId(String policyId)
The identifier of the lifecycle policy.
policyId - The identifier of the lifecycle policy.public void setDescription(String description)
The description of the lifecycle policy.
description - The description of the lifecycle policy.public String getDescription()
The description of the lifecycle policy.
public LifecyclePolicySummary withDescription(String description)
The description of the lifecycle policy.
description - The description of the lifecycle policy.public void setState(String state)
The activation state of the lifecycle policy.
state - The activation state of the lifecycle policy.GettablePolicyStateValuespublic String getState()
The activation state of the lifecycle policy.
GettablePolicyStateValuespublic LifecyclePolicySummary withState(String state)
The activation state of the lifecycle policy.
state - The activation state of the lifecycle policy.GettablePolicyStateValuespublic LifecyclePolicySummary withState(GettablePolicyStateValues state)
The activation state of the lifecycle policy.
state - The activation state of the lifecycle policy.GettablePolicyStateValuespublic String toString()
toString in class ObjectObject.toString()public LifecyclePolicySummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.