Class GetJudgmentsRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.search_relevance.GetJudgmentsRequest
- All Implemented Interfaces:
ToCopyableBuilder<GetJudgmentsRequest.Builder,GetJudgmentsRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class GetJudgmentsRequest
extends RequestBase
implements ToCopyableBuilder<GetJudgmentsRequest.Builder,GetJudgmentsRequest>
Gets judgments.
-
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 SimpleEndpoint<GetJudgmentsRequest, ?> Endpoint "search_relevance.get_judgments". -
Method Summary
Modifier and TypeMethodDescriptionstatic GetJudgmentsRequest.Builderbuilder()static <TDocument>
Endpoint<GetJudgmentsRequest, GetJudgmentsResponse<TDocument>, ErrorResponse> createSearchRelevanceGetJudgmentsEndpoint(JsonpDeserializer<TDocument> tDocumentDeserializer) Create an "search_relevance.get_judgments" endpoint.booleaninthashCode()final StringThe judgment idstatic GetJudgmentsRequestCreate 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.util.ToCopyableBuilder
copy
-
Field Details
-
_ENDPOINT
Endpoint "search_relevance.get_judgments".
-
-
Method Details
-
of
public static GetJudgmentsRequest of(Function<GetJudgmentsRequest.Builder, ObjectBuilder<GetJudgmentsRequest>> fn) -
judgmentId
The judgment idAPI name:
judgment_id -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<GetJudgmentsRequest.Builder,GetJudgmentsRequest> - Returns:
- a new builder instance.
-
builder
-
createSearchRelevanceGetJudgmentsEndpoint
public static <TDocument> Endpoint<GetJudgmentsRequest,GetJudgmentsResponse<TDocument>, createSearchRelevanceGetJudgmentsEndpointErrorResponse> (JsonpDeserializer<TDocument> tDocumentDeserializer) Create an "search_relevance.get_judgments" endpoint. -
hashCode
public int hashCode() -
equals
-