Class GetProfileRequest.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder<GetProfileRequest.Builder>
org.opensearch.client.opensearch.ml.GetProfileRequest.Builder
- All Implemented Interfaces:
CopyableBuilder<GetProfileRequest.Builder,,GetProfileRequest> MutableBuilder<GetProfileRequest.Builder,,GetProfileRequest> ObjectBuilder<GetProfileRequest>
- Enclosing class:
GetProfileRequest
public static class GetProfileRequest.Builder
extends RequestBase.AbstractBuilder<GetProfileRequest.Builder>
implements CopyableBuilder<GetProfileRequest.Builder,GetProfileRequest>
Builder for
GetProfileRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aGetProfileRequest.copy()Create a new builderCopyableBuilderthat is a copy of this one.API name:model_idsAPI name:model_idsAPI name:node_idsAPI name:node_idsreturnAllModels(Boolean value) Whether to return all models.returnAllTasks(Boolean value) Whether to return all tasks.protected GetProfileRequest.Builderself()API name:task_idsAPI name:task_idsMethods 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<GetProfileRequest.Builder,GetProfileRequest> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classRequestBase.AbstractBuilder<GetProfileRequest.Builder>
-
modelIds
API name:model_idsAdds all elements of
listtomodelIds. -
modelIds
API name:model_idsAdds one or more values to
modelIds. -
nodeIds
API name:node_idsAdds all elements of
listtonodeIds. -
nodeIds
API name:node_idsAdds one or more values to
nodeIds. -
returnAllModels
Whether to return all models.API name:
return_all_models -
returnAllTasks
Whether to return all tasks.API name:
return_all_tasks -
taskIds
API name:task_idsAdds all elements of
listtotaskIds. -
taskIds
API name:task_idsAdds one or more values to
taskIds. -
build
Builds aGetProfileRequest.- Specified by:
buildin interfaceObjectBuilder<GetProfileRequest>- Throws:
NullPointerException- if some of the required fields are null.
-