Class ExplainPolicyRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.ism.ExplainPolicyRequest
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ExplainPolicyRequest.Builder,ExplainPolicyRequest>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class ExplainPolicyRequest
extends RequestBase
implements PlainJsonSerializable, ToCopyableBuilder<ExplainPolicyRequest.Builder,ExplainPolicyRequest>
Retrieves the currently applied policy on the specified indexes.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ExplainPolicyRequest> static final Endpoint<ExplainPolicyRequest, ExplainPolicyResponse, ErrorResponse> Endpoint "ism.explain_policy". -
Method Summary
Modifier and TypeMethodDescriptionfinal JsonDatabody()Required - Request body.static ExplainPolicyRequest.Builderbuilder()protected static JsonpDeserializer<ExplainPolicyRequest> booleaninthashCode()final Stringindex()API name:indexstatic ExplainPolicyRequestvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this value to JSON.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch._types.RequestBase
applyQueryParameters, errorTrace, humanMethods 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
-
_ENDPOINT
Endpoint "ism.explain_policy".
-
-
Method Details
-
of
public static ExplainPolicyRequest of(Function<ExplainPolicyRequest.Builder, ObjectBuilder<ExplainPolicyRequest>> fn) -
body
Required - Request body. -
index
API name:index -
serialize
Serialize this value to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ExplainPolicyRequest.Builder,ExplainPolicyRequest> - Returns:
- a new builder instance.
-
builder
-
createExplainPolicyRequestDeserializer
-
hashCode
public int hashCode() -
equals
-