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 forGetAgentRequest.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetAgentRequest.BuilderagentId(java.lang.String value)Required - API name:agent_idGetAgentRequestbuild()Builds aGetAgentRequest.GetAgentRequest.Buildercopy()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, human
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAll
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
-
-
-
Method Detail
-
copy
@Nonnull public GetAgentRequest.Builder 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
@Nonnull protected GetAgentRequest.Builder self()
- Specified by:
selfin classRequestBase.AbstractBuilder<GetAgentRequest.Builder>
-
agentId
@Nonnull public final GetAgentRequest.Builder agentId(java.lang.String value)
Required - API name:agent_id
-
build
@Nonnull public GetAgentRequest build()
Builds aGetAgentRequest.- Specified by:
buildin interfaceObjectBuilder<GetAgentRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-