Class ExplainPolicy
java.lang.Object
org.opensearch.client.opensearch.ism.ExplainPolicy
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ExplainPolicy.Builder,ExplainPolicy>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ExplainPolicy
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ExplainPolicy.Builder,ExplainPolicy>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ExplainPolicy> Json deserializer forExplainPolicy -
Method Summary
Modifier and TypeMethodDescriptionstatic ExplainPolicy.Builderbuilder()final Booleanenabled()Whether the policy is enabled for the index.booleaninthashCode()final StringThe ID of the OpenDistro policy applied to the index.final StringThe ID of the policy applied to the index.static ExplainPolicyvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forExplainPolicy
-
-
Method Details
-
of
-
enabled
Whether the policy is enabled for the index.API name:
enabled -
indexOpendistroIndexStateManagementPolicyId
The ID of the OpenDistro policy applied to the index.API name:
index.opendistro.index_state_management.policy_id -
indexPluginsIndexStateManagementPolicyId
The ID of the policy applied to the index.API name:
index.plugins.index_state_management.policy_id -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ExplainPolicy.Builder,ExplainPolicy> - Returns:
- a new builder instance.
-
builder
-
setupExplainPolicyDeserializer
-
hashCode
public int hashCode() -
equals
-