Class LtrStatsRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.ltr.LtrStatsRequest
- All Implemented Interfaces:
ToCopyableBuilder<LtrStatsRequest.Builder,LtrStatsRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class LtrStatsRequest
extends RequestBase
implements ToCopyableBuilder<LtrStatsRequest.Builder,LtrStatsRequest>
Provides information about the current status of the LTR plugin.
-
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 Endpoint<LtrStatsRequest, LtrStatsResponse, ErrorResponse> Endpoint "ltr.stats". -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyQueryParameters(Map<String, String> params) static LtrStatsRequest.Builderbuilder()booleaninthashCode()nodeId()A comma-separated list of node IDs or names to limit the returned information; use_localto return information from the node you're connecting to, leave empty to get information from all nodes.static LtrStatsRequestfinal List<LtrStatName> stat()A comma-separated list of stats to retrieve; use_allor empty string to retrieve all stats.final Timetimeout()The time in milliseconds to wait for a response.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch._types.RequestBase
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 "ltr.stats".
-
-
Method Details
-
of
public static LtrStatsRequest of(Function<LtrStatsRequest.Builder, ObjectBuilder<LtrStatsRequest>> fn) -
nodeId
A comma-separated list of node IDs or names to limit the returned information; use_localto return information from the node you're connecting to, leave empty to get information from all nodes.API name:
node_id -
stat
A comma-separated list of stats to retrieve; use_allor empty string to retrieve all stats.API name:
stat -
timeout
The time in milliseconds to wait for a response.API name:
timeout -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<LtrStatsRequest.Builder,LtrStatsRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classRequestBase
-
hashCode
public int hashCode() -
equals
-