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:errorsAPI name:errorserrors(List<DataStreamSettingsError> list) API name:errorsprotected IndexSettingResults.Builderself()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
-
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_onlyAdds all elements of
listtoappliedToDataStreamOnly. -
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_onlyAdds 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_indicesAdds all elements of
listtoappliedToDataStreamAndBackingIndices. -
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_indicesAdds one or more values to
appliedToDataStreamAndBackingIndices. -
errors
API name:errorsAdds all elements of
listtoerrors. -
errors
public final IndexSettingResults.Builder errors(DataStreamSettingsError value, DataStreamSettingsError... values) API name:errorsAdds one or more values to
errors. -
errors
public final IndexSettingResults.Builder errors(Function<DataStreamSettingsError.Builder, ObjectBuilder<DataStreamSettingsError>> fn) API name:errorsAdds a value to
errorsusing a builder lambda. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<IndexSettingResults.Builder>
-
build
Builds aIndexSettingResults.- Specified by:
buildin interfaceObjectBuilder<IndexSettingResults>- Throws:
NullPointerException- if some of the required fields are null.
-