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