Class GetConnectorResponse.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.ml.GetConnectorResponse.Builder
- All Implemented Interfaces:
CopyableBuilder<GetConnectorResponse.Builder,,GetConnectorResponse> MutableBuilder<GetConnectorResponse.Builder,,GetConnectorResponse> ObjectBuilder<GetConnectorResponse>
- Enclosing class:
GetConnectorResponse
public static class GetConnectorResponse.Builder
extends ObjectBuilderBase
implements CopyableBuilder<GetConnectorResponse.Builder,GetConnectorResponse>
Builder for
GetConnectorResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAPI name:actionsAPI name:actionsAPI name:actionsbuild()Builds aGetConnectorResponse.copy()Create a new builderCopyableBuilderthat is a copy of this one.createdTime(Long value) The created time.description(String value) The connector description.lastUpdatedTime(Long value) The last updated time.API name:nameparameters(String key, JsonData value) API name:parametersparameters(Map<String, JsonData> map) API name:parametersThe connector protocol.API name:versionMethods 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<GetConnectorResponse.Builder,GetConnectorResponse> - Returns:
- a new builder instance.
-
actions
API name:actionsAdds all elements of
listtoactions. -
actions
API name:actionsAdds one or more values to
actions. -
actions
@Nonnull public final GetConnectorResponse.Builder actions(Function<Action.Builder, ObjectBuilder<Action>> fn) API name:actionsAdds a value to
actionsusing a builder lambda. -
createdTime
The created time.API name:
created_time -
description
The connector description.API name:
description -
lastUpdatedTime
The last updated time.API name:
last_updated_time -
name
API name:name -
parameters
API name:parametersAdds all elements of
maptoparameters. -
parameters
API name:parametersAdds an entry to
parameters. -
protocol
The connector protocol.API name:
protocol -
version
API name:version -
build
Builds aGetConnectorResponse.- Specified by:
buildin interfaceObjectBuilder<GetConnectorResponse>- Throws:
NullPointerException- if some of the required fields are null.
-