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 forCreateConnectorResponse.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateConnectorResponsebuild()Builds aCreateConnectorResponse.CreateConnectorResponse.BuilderconnectorId(java.lang.String value)API name:connector_idCreateConnectorResponse.Buildercopy()Create a new builderCopyableBuilderthat is a copy of this one.-
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 CreateConnectorResponse.Builder 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
@Nonnull public final CreateConnectorResponse.Builder connectorId(@Nullable java.lang.String value)
API name:connector_id
-
build
@Nonnull public CreateConnectorResponse build()
Builds aCreateConnectorResponse.- Specified by:
buildin interfaceObjectBuilder<CreateConnectorResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-