Class CreateConnectorResponse.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.ml.CreateConnectorResponse.Builder
- All Implemented Interfaces:
CopyableBuilder<CreateConnectorResponse.Builder,,CreateConnectorResponse> MutableBuilder<CreateConnectorResponse.Builder,,CreateConnectorResponse> ObjectBuilder<CreateConnectorResponse>
- Enclosing class:
CreateConnectorResponse
public static class CreateConnectorResponse.Builder
extends ObjectBuilderBase
implements CopyableBuilder<CreateConnectorResponse.Builder,CreateConnectorResponse>
Builder for
CreateConnectorResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aCreateConnectorResponse.connectorId(String value) API name:connector_idcopy()Create a new builderCopyableBuilderthat is a copy of this one.Methods 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<CreateConnectorResponse.Builder,CreateConnectorResponse> - Returns:
- a new builder instance.
-
connectorId
API name:connector_id -
build
Builds aCreateConnectorResponse.- Specified by:
buildin interfaceObjectBuilder<CreateConnectorResponse>- Throws:
NullPointerException- if some of the required fields are null.
-