Class GetAgentRequest.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder<GetAgentRequest.Builder>
org.opensearch.client.opensearch.ml.GetAgentRequest.Builder
- All Implemented Interfaces:
CopyableBuilder<GetAgentRequest.Builder,,GetAgentRequest> MutableBuilder<GetAgentRequest.Builder,,GetAgentRequest> ObjectBuilder<GetAgentRequest>
- Enclosing class:
GetAgentRequest
public static class GetAgentRequest.Builder
extends RequestBase.AbstractBuilder<GetAgentRequest.Builder>
implements CopyableBuilder<GetAgentRequest.Builder,GetAgentRequest>
Builder for
GetAgentRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal GetAgentRequest.BuilderRequired - API name:agent_idbuild()Builds aGetAgentRequest.copy()Create a new builderCopyableBuilderthat is a copy of this one.protected GetAgentRequest.Builderself()Methods inherited from class org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder
errorTrace, humanMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<GetAgentRequest.Builder,GetAgentRequest> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classRequestBase.AbstractBuilder<GetAgentRequest.Builder>
-
agentId
Required - API name:agent_id -
build
Builds aGetAgentRequest.- Specified by:
buildin interfaceObjectBuilder<GetAgentRequest>- Throws:
NullPointerException- if some of the required fields are null.
-