Class IndexSettingResults.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<IndexSettingResults.Builder>
co.elastic.clients.elasticsearch.indices.put_data_stream_settings.IndexSettingResults.Builder
- All Implemented Interfaces:
WithJson<IndexSettingResults.Builder>
,ObjectBuilder<IndexSettingResults>
- Enclosing class:
- IndexSettingResults
public static class IndexSettingResults.Builder
extends WithJsonObjectBuilderBase<IndexSettingResults.Builder>
implements ObjectBuilder<IndexSettingResults>
Builder for
IndexSettingResults
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappliedToDataStreamAndBackingIndices
(String value, String... values) Required - The list of settings that were applied to the data stream and to all of its backing indices.Required - The list of settings that were applied to the data stream and to all of its backing indices.appliedToDataStreamOnly
(String value, String... values) Required - The list of settings that were applied to the data stream but not to backing indices.appliedToDataStreamOnly
(List<String> list) Required - The list of settings that were applied to the data stream but not to backing indices.build()
Builds aIndexSettingResults
.errors
(DataStreamSettingsError value, DataStreamSettingsError... values) API name:errors
API name:errors
errors
(List<DataStreamSettingsError> list) API name:errors
protected IndexSettingResults.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
appliedToDataStreamOnly
Required - The list of settings that were applied to the data stream but not to backing indices. These will be applied to the write index the next time the data stream is rolled over.API name:
applied_to_data_stream_only
Adds all elements of
list
toappliedToDataStreamOnly
. -
appliedToDataStreamOnly
Required - The list of settings that were applied to the data stream but not to backing indices. These will be applied to the write index the next time the data stream is rolled over.API name:
applied_to_data_stream_only
Adds one or more values to
appliedToDataStreamOnly
. -
appliedToDataStreamAndBackingIndices
Required - The list of settings that were applied to the data stream and to all of its backing indices. These settings will also be applied to the write index the next time the data stream is rolled over.API name:
applied_to_data_stream_and_backing_indices
Adds all elements of
list
toappliedToDataStreamAndBackingIndices
. -
appliedToDataStreamAndBackingIndices
public final IndexSettingResults.Builder appliedToDataStreamAndBackingIndices(String value, String... values) Required - The list of settings that were applied to the data stream and to all of its backing indices. These settings will also be applied to the write index the next time the data stream is rolled over.API name:
applied_to_data_stream_and_backing_indices
Adds one or more values to
appliedToDataStreamAndBackingIndices
. -
errors
API name:errors
Adds all elements of
list
toerrors
. -
errors
public final IndexSettingResults.Builder errors(DataStreamSettingsError value, DataStreamSettingsError... values) API name:errors
Adds one or more values to
errors
. -
errors
public final IndexSettingResults.Builder errors(Function<DataStreamSettingsError.Builder, ObjectBuilder<DataStreamSettingsError>> fn) API name:errors
Adds a value to
errors
using a builder lambda. -
self
- Specified by:
self
in classWithJsonObjectBuilderBase<IndexSettingResults.Builder>
-
build
Builds aIndexSettingResults
.- Specified by:
build
in interfaceObjectBuilder<IndexSettingResults>
- Throws:
NullPointerException
- if some of the required fields are null.
-