Class GetToolRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.ml.GetToolRequest
- All Implemented Interfaces:
ToCopyableBuilder<GetToolRequest.Builder,GetToolRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class GetToolRequest
extends RequestBase
implements ToCopyableBuilder<GetToolRequest.Builder,GetToolRequest>
Get tools.
-
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<GetToolRequest, GetToolResponse, ErrorResponse> Endpoint "ml.get_tool". -
Method Summary
Modifier and TypeMethodDescriptionstatic GetToolRequest.Builderbuilder()booleaninthashCode()static GetToolRequestCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final StringtoolName()Required - API name:tool_nameMethods 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 "ml.get_tool".
-
-
Method Details
-
of
-
toolName
Required - API name:tool_name -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<GetToolRequest.Builder,GetToolRequest> - Returns:
- a new builder instance.
-
builder
-
hashCode
public int hashCode() -
equals
-