Class ConnectorFeatures.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ConnectorFeatures.Builder>
co.elastic.clients.elasticsearch.connector.ConnectorFeatures.Builder
- All Implemented Interfaces:
WithJson<ConnectorFeatures.Builder>,ObjectBuilder<ConnectorFeatures>
- Enclosing class:
- ConnectorFeatures
public static class ConnectorFeatures.Builder
extends WithJsonObjectBuilderBase<ConnectorFeatures.Builder>
implements ObjectBuilder<ConnectorFeatures>
Builder for
ConnectorFeatures.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aConnectorFeatures.Indicates whether document-level security is enabled.Indicates whether document-level security is enabled.incrementalSync(FeatureEnabled value) Indicates whether incremental syncs are enabled.Indicates whether incremental syncs are enabled.Indicates whether managed connector API keys are enabled.Indicates whether managed connector API keys are enabled.protected ConnectorFeatures.Builderself()syncRules(SyncRulesFeature value) API name:sync_rulesAPI name:sync_rulesMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
documentLevelSecurity
Indicates whether document-level security is enabled.API name:
document_level_security -
documentLevelSecurity
public final ConnectorFeatures.Builder documentLevelSecurity(Function<FeatureEnabled.Builder, ObjectBuilder<FeatureEnabled>> fn) Indicates whether document-level security is enabled.API name:
document_level_security -
incrementalSync
Indicates whether incremental syncs are enabled.API name:
incremental_sync -
incrementalSync
public final ConnectorFeatures.Builder incrementalSync(Function<FeatureEnabled.Builder, ObjectBuilder<FeatureEnabled>> fn) Indicates whether incremental syncs are enabled.API name:
incremental_sync -
nativeConnectorApiKeys
Indicates whether managed connector API keys are enabled.API name:
native_connector_api_keys -
nativeConnectorApiKeys
public final ConnectorFeatures.Builder nativeConnectorApiKeys(Function<FeatureEnabled.Builder, ObjectBuilder<FeatureEnabled>> fn) Indicates whether managed connector API keys are enabled.API name:
native_connector_api_keys -
syncRules
API name:sync_rules -
syncRules
public final ConnectorFeatures.Builder syncRules(Function<SyncRulesFeature.Builder, ObjectBuilder<SyncRulesFeature>> fn) API name:sync_rules -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<ConnectorFeatures.Builder>
-
build
Builds aConnectorFeatures.- Specified by:
buildin interfaceObjectBuilder<ConnectorFeatures>- Throws:
NullPointerException- if some of the required fields are null.
-