@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LifecyclePolicyStats extends Object implements Serializable, Cloneable, StructuredPojo
Statistics for an OpenSearch Serverless lifecycle policy.
Constructor and Description |
---|
LifecyclePolicyStats() |
Modifier and Type | Method and Description |
---|---|
LifecyclePolicyStats |
clone() |
boolean |
equals(Object obj) |
Long |
getRetentionPolicyCount()
The number of retention lifecycle policies in the current account.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRetentionPolicyCount(Long retentionPolicyCount)
The number of retention lifecycle policies in the current account.
|
String |
toString()
Returns a string representation of this object.
|
LifecyclePolicyStats |
withRetentionPolicyCount(Long retentionPolicyCount)
The number of retention lifecycle policies in the current account.
|
public void setRetentionPolicyCount(Long retentionPolicyCount)
The number of retention lifecycle policies in the current account.
retentionPolicyCount
- The number of retention lifecycle policies in the current account.public Long getRetentionPolicyCount()
The number of retention lifecycle policies in the current account.
public LifecyclePolicyStats withRetentionPolicyCount(Long retentionPolicyCount)
The number of retention lifecycle policies in the current account.
retentionPolicyCount
- The number of retention lifecycle policies in the current account.public String toString()
toString
in class Object
Object.toString()
public LifecyclePolicyStats clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.