Class IndexTemplateDataStreamConfiguration.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<IndexTemplateDataStreamConfiguration.Builder>
co.elastic.clients.elasticsearch.indices.IndexTemplateDataStreamConfiguration.Builder
- All Implemented Interfaces:
WithJson<IndexTemplateDataStreamConfiguration.Builder>,ObjectBuilder<IndexTemplateDataStreamConfiguration>
- Enclosing class:
- IndexTemplateDataStreamConfiguration
public static class IndexTemplateDataStreamConfiguration.Builder extends WithJsonObjectBuilderBase<IndexTemplateDataStreamConfiguration.Builder> implements ObjectBuilder<IndexTemplateDataStreamConfiguration>
Builder for
IndexTemplateDataStreamConfiguration.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description IndexTemplateDataStreamConfiguration.BuilderallowCustomRouting(java.lang.Boolean value)If true, the data stream supports custom routing.IndexTemplateDataStreamConfigurationbuild()Builds aIndexTemplateDataStreamConfiguration.IndexTemplateDataStreamConfiguration.Builderhidden(java.lang.Boolean value)If true, the data stream is hidden.protected IndexTemplateDataStreamConfiguration.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowCustomRouting
public final IndexTemplateDataStreamConfiguration.Builder allowCustomRouting(@Nullable java.lang.Boolean value)If true, the data stream supports custom routing.API name:
allow_custom_routing -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<IndexTemplateDataStreamConfiguration.Builder>
-
build
Builds aIndexTemplateDataStreamConfiguration.- Specified by:
buildin interfaceObjectBuilder<IndexTemplateDataStreamConfiguration>- Throws:
java.lang.NullPointerException- if some of the required fields are null.