Class UpdatedDataStreamSettings.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<UpdatedDataStreamSettings.Builder>
co.elastic.clients.elasticsearch.indices.put_data_stream_settings.UpdatedDataStreamSettings.Builder
- All Implemented Interfaces:
WithJson<UpdatedDataStreamSettings.Builder>,ObjectBuilder<UpdatedDataStreamSettings>
- Enclosing class:
- UpdatedDataStreamSettings
public static class UpdatedDataStreamSettings.Builder
extends WithJsonObjectBuilderBase<UpdatedDataStreamSettings.Builder>
implements ObjectBuilder<UpdatedDataStreamSettings>
Builder for
UpdatedDataStreamSettings.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappliedToDataStream(boolean value) Required - If the settings were successfully applied to the data stream (or would have been, if running indry_runmode), it istrue.build()Builds aUpdatedDataStreamSettings.effectiveSettings(IndexSettings value) Required - The settings that are effective on this data stream, taking into account the settings from the matching index template and the settings specific to this data stream.Required - The settings that are effective on this data stream, taking into account the settings from the matching index template and the settings specific to this data stream.A message explaining why the settings could not be applied to the data stream.Required - Information about whether and where each setting was applied.Required - Information about whether and where each setting was applied.Required - The data stream name.protected UpdatedDataStreamSettings.Builderself()settings(IndexSettings value) Required - The settings that are specfic to this data stream that will override any settings from the matching index template.Required - The settings that are specfic to this data stream that will override any settings from the matching index template.Methods 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
-
name
Required - The data stream name.API name:
name -
appliedToDataStream
Required - If the settings were successfully applied to the data stream (or would have been, if running indry_runmode), it istrue. If an error occurred, it isfalse.API name:
applied_to_data_stream -
error
A message explaining why the settings could not be applied to the data stream.API name:
error -
settings
Required - The settings that are specfic to this data stream that will override any settings from the matching index template.API name:
settings -
settings
public final UpdatedDataStreamSettings.Builder settings(Function<IndexSettings.Builder, ObjectBuilder<IndexSettings>> fn) Required - The settings that are specfic to this data stream that will override any settings from the matching index template.API name:
settings -
effectiveSettings
Required - The settings that are effective on this data stream, taking into account the settings from the matching index template and the settings specific to this data stream.API name:
effective_settings -
effectiveSettings
public final UpdatedDataStreamSettings.Builder effectiveSettings(Function<IndexSettings.Builder, ObjectBuilder<IndexSettings>> fn) Required - The settings that are effective on this data stream, taking into account the settings from the matching index template and the settings specific to this data stream.API name:
effective_settings -
indexSettingsResults
Required - Information about whether and where each setting was applied.API name:
index_settings_results -
indexSettingsResults
public final UpdatedDataStreamSettings.Builder indexSettingsResults(Function<IndexSettingResults.Builder, ObjectBuilder<IndexSettingResults>> fn) Required - Information about whether and where each setting was applied.API name:
index_settings_results -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<UpdatedDataStreamSettings.Builder>
-
build
Builds aUpdatedDataStreamSettings.- Specified by:
buildin interfaceObjectBuilder<UpdatedDataStreamSettings>- Throws:
NullPointerException- if some of the required fields are null.
-