@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) |
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)
marshall
in interface StructuredPojo
Copyright © 2024. All rights reserved.