@Generated(value="software.amazon.awssdk:codegen") public final class SecurityPolicyDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SecurityPolicyDetail.Builder,SecurityPolicyDetail>
Details about an OpenSearch Serverless security policy.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SecurityPolicyDetail.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SecurityPolicyDetail.Builder |
builder() |
Long |
createdDate()
The date the policy was created.
|
String |
description()
The description of the security policy.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
lastModifiedDate()
The timestamp of when the policy was last modified.
|
String |
name()
The name of the policy.
|
Document |
policy()
The JSON policy document without any whitespaces.
|
String |
policyVersion()
The version of the policy.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SecurityPolicyDetail.Builder> |
serializableBuilderClass() |
SecurityPolicyDetail.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
SecurityPolicyType |
type()
The type of security policy.
|
String |
typeAsString()
The type of security policy.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Long createdDate()
The date the policy was created.
public final String description()
The description of the security policy.
public final Long lastModifiedDate()
The timestamp of when the policy was last modified.
public final String name()
The name of the policy.
public final Document policy()
The JSON policy document without any whitespaces.
public final String policyVersion()
The version of the policy.
public final SecurityPolicyType type()
The type of security policy.
If the service returns an enum value that is not available in the current SDK version, type will return
SecurityPolicyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
SecurityPolicyTypepublic final String typeAsString()
The type of security policy.
If the service returns an enum value that is not available in the current SDK version, type will return
SecurityPolicyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
SecurityPolicyTypepublic SecurityPolicyDetail.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SecurityPolicyDetail.Builder,SecurityPolicyDetail>public static SecurityPolicyDetail.Builder builder()
public static Class<? extends SecurityPolicyDetail.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.