@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LifecyclePolicyDetail extends Object implements Serializable, Cloneable, StructuredPojo
Details about an OpenSearch Serverless lifecycle policy.
Constructor and Description |
---|
LifecyclePolicyDetail() |
Modifier and Type | Method and Description |
---|---|
LifecyclePolicyDetail |
clone() |
boolean |
equals(Object obj) |
Long |
getCreatedDate()
The date the lifecycle policy was created.
|
String |
getDescription()
The description of the lifecycle policy.
|
Long |
getLastModifiedDate()
The timestamp of 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 date the lifecycle policy was created.
|
void |
setDescription(String description)
The description of the lifecycle policy.
|
void |
setLastModifiedDate(Long lastModifiedDate)
The timestamp of 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.
|
LifecyclePolicyDetail |
withCreatedDate(Long createdDate)
The date the lifecycle policy was created.
|
LifecyclePolicyDetail |
withDescription(String description)
The description of the lifecycle policy.
|
LifecyclePolicyDetail |
withLastModifiedDate(Long lastModifiedDate)
The timestamp of when the lifecycle policy was last modified.
|
LifecyclePolicyDetail |
withName(String name)
The name of the lifecycle policy.
|
LifecyclePolicyDetail |
withPolicyVersion(String policyVersion)
The version of the lifecycle policy.
|
LifecyclePolicyDetail |
withType(LifecyclePolicyType type)
The type of lifecycle policy.
|
LifecyclePolicyDetail |
withType(String type)
The type of lifecycle policy.
|
public void setCreatedDate(Long createdDate)
The date the lifecycle policy was created.
createdDate
- The date the lifecycle policy was created.public Long getCreatedDate()
The date the lifecycle policy was created.
public LifecyclePolicyDetail withCreatedDate(Long createdDate)
The date the lifecycle policy was created.
createdDate
- The date 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 LifecyclePolicyDetail withDescription(String description)
The description of the lifecycle policy.
description
- The description of the lifecycle policy.public void setLastModifiedDate(Long lastModifiedDate)
The timestamp of when the lifecycle policy was last modified.
lastModifiedDate
- The timestamp of when the lifecycle policy was last modified.public Long getLastModifiedDate()
The timestamp of when the lifecycle policy was last modified.
public LifecyclePolicyDetail withLastModifiedDate(Long lastModifiedDate)
The timestamp of when the lifecycle policy was last modified.
lastModifiedDate
- The timestamp of 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 LifecyclePolicyDetail 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 LifecyclePolicyDetail 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 LifecyclePolicyDetail withType(String type)
The type of lifecycle policy.
type
- The type of lifecycle policy.LifecyclePolicyType
public LifecyclePolicyDetail 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 LifecyclePolicyDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.