@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LifecyclePolicySummary extends Object implements Serializable, Cloneable, StructuredPojo
A summary of the lifecycle policy.
Constructor and Description |
---|
LifecyclePolicySummary() |
Modifier and Type | Method and Description |
---|---|
LifecyclePolicySummary |
clone() |
boolean |
equals(Object obj) |
Long |
getCreatedDate()
The Epoch time when the lifecycle policy was created.
|
String |
getDescription()
The description of the lifecycle policy.
|
Long |
getLastModifiedDate()
The date and time when the lifecycle policy was last modified.
|
String |
getName()
The name of the lifecycle policy.
|
String |
getPolicyVersion()
The version of the lifecycle policy.
|
String |
getType()
The type of lifecycle policy.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedDate(Long createdDate)
The Epoch time when the lifecycle policy was created.
|
void |
setDescription(String description)
The description of the lifecycle policy.
|
void |
setLastModifiedDate(Long lastModifiedDate)
The date and time when the lifecycle policy was last modified.
|
void |
setName(String name)
The name of the lifecycle policy.
|
void |
setPolicyVersion(String policyVersion)
The version of the lifecycle policy.
|
void |
setType(String type)
The type of lifecycle policy.
|
String |
toString()
Returns a string representation of this object.
|
LifecyclePolicySummary |
withCreatedDate(Long createdDate)
The Epoch time when the lifecycle policy was created.
|
LifecyclePolicySummary |
withDescription(String description)
The description of the lifecycle policy.
|
LifecyclePolicySummary |
withLastModifiedDate(Long lastModifiedDate)
The date and time when the lifecycle policy was last modified.
|
LifecyclePolicySummary |
withName(String name)
The name of the lifecycle policy.
|
LifecyclePolicySummary |
withPolicyVersion(String policyVersion)
The version of the lifecycle policy.
|
LifecyclePolicySummary |
withType(LifecyclePolicyType type)
The type of lifecycle policy.
|
LifecyclePolicySummary |
withType(String type)
The type of lifecycle policy.
|
public void setCreatedDate(Long createdDate)
The Epoch time when the lifecycle policy was created.
createdDate
- The Epoch time when the lifecycle policy was created.public Long getCreatedDate()
The Epoch time when the lifecycle policy was created.
public LifecyclePolicySummary withCreatedDate(Long createdDate)
The Epoch time when the lifecycle policy was created.
createdDate
- The Epoch time when the lifecycle policy was created.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 setLastModifiedDate(Long lastModifiedDate)
The date and time when the lifecycle policy was last modified.
lastModifiedDate
- The date and time when the lifecycle policy was last modified.public Long getLastModifiedDate()
The date and time when the lifecycle policy was last modified.
public LifecyclePolicySummary withLastModifiedDate(Long lastModifiedDate)
The date and time when the lifecycle policy was last modified.
lastModifiedDate
- The date and time when the lifecycle policy was last modified.public void setName(String name)
The name of the lifecycle policy.
name
- The name of the lifecycle policy.public String getName()
The name of the lifecycle policy.
public LifecyclePolicySummary withName(String name)
The name of the lifecycle policy.
name
- The name of the lifecycle policy.public void setPolicyVersion(String policyVersion)
The version of the lifecycle policy.
policyVersion
- The version of the lifecycle policy.public String getPolicyVersion()
The version of the lifecycle policy.
public LifecyclePolicySummary withPolicyVersion(String policyVersion)
The version of the lifecycle policy.
policyVersion
- The version of the lifecycle policy.public void setType(String type)
The type of lifecycle policy.
type
- The type of lifecycle policy.LifecyclePolicyType
public String getType()
The type of lifecycle policy.
LifecyclePolicyType
public LifecyclePolicySummary withType(String type)
The type of lifecycle policy.
type
- The type of lifecycle policy.LifecyclePolicyType
public LifecyclePolicySummary withType(LifecyclePolicyType type)
The type of lifecycle policy.
type
- The type of lifecycle policy.LifecyclePolicyType
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.