Class GetAgentRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.ml.GetAgentRequest
- All Implemented Interfaces:
ToCopyableBuilder<GetAgentRequest.Builder,GetAgentRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class GetAgentRequest
extends RequestBase
implements ToCopyableBuilder<GetAgentRequest.Builder,GetAgentRequest>
Get an agent.
-
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<GetAgentRequest, GetAgentResponse, ErrorResponse> Endpoint "ml.get_agent". -
Method Summary
Modifier and TypeMethodDescriptionfinal StringagentId()Required - API name:agent_idstatic GetAgentRequest.Builderbuilder()booleaninthashCode()static GetAgentRequestCreate 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 "ml.get_agent".
-
-
Method Details
-
of
public static GetAgentRequest of(Function<GetAgentRequest.Builder, ObjectBuilder<GetAgentRequest>> fn) -
agentId
Required - API name:agent_id -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<GetAgentRequest.Builder,GetAgentRequest> - Returns:
- a new builder instance.
-
builder
-
hashCode
public int hashCode() -
equals
-