@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 |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
LifecyclePolicySummary |
clearTagsEntries()
Removes all the entries added into Tags.
|
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.
|
Map<String,String> |
getTags()
The tags.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
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.
|
void |
setTags(Map<String,String> tags)
The tags.
|
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.
|
LifecyclePolicySummary |
withTags(Map<String,String> tags)
The tags.
|
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.GettablePolicyStateValues
public String getState()
The activation state of the lifecycle policy.
GettablePolicyStateValues
public LifecyclePolicySummary withState(String state)
The activation state of the lifecycle policy.
state
- The activation state of the lifecycle policy.GettablePolicyStateValues
public LifecyclePolicySummary withState(GettablePolicyStateValues state)
The activation state of the lifecycle policy.
state
- The activation state of the lifecycle policy.GettablePolicyStateValues
public LifecyclePolicySummary withTags(Map<String,String> tags)
The tags.
tags
- The tags.public LifecyclePolicySummary addTagsEntry(String key, String value)
public LifecyclePolicySummary clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public LifecyclePolicySummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.