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