Class ResolveIndexDataStreamsItem.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ResolveIndexDataStreamsItem.Builder>
co.elastic.clients.elasticsearch.indices.resolve_index.ResolveIndexDataStreamsItem.Builder
- All Implemented Interfaces:
WithJson<ResolveIndexDataStreamsItem.Builder>,ObjectBuilder<ResolveIndexDataStreamsItem>
- Enclosing class:
- ResolveIndexDataStreamsItem
public static class ResolveIndexDataStreamsItem.Builder extends WithJsonObjectBuilderBase<ResolveIndexDataStreamsItem.Builder> implements ObjectBuilder<ResolveIndexDataStreamsItem>
Builder for
ResolveIndexDataStreamsItem.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ResolveIndexDataStreamsItem.BuilderbackingIndices(java.lang.String value, java.lang.String... values)Required - API name:backing_indicesResolveIndexDataStreamsItem.BuilderbackingIndices(java.util.List<java.lang.String> list)Required - API name:backing_indicesResolveIndexDataStreamsItembuild()Builds aResolveIndexDataStreamsItem.ResolveIndexDataStreamsItem.Buildername(java.lang.String value)Required - API name:nameprotected ResolveIndexDataStreamsItem.Builderself()ResolveIndexDataStreamsItem.BuildertimestampField(java.lang.String value)Required - API name:timestamp_fieldMethods 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
-
name
Required - API name:name -
timestampField
Required - API name:timestamp_field -
backingIndices
public final ResolveIndexDataStreamsItem.Builder backingIndices(java.util.List<java.lang.String> list)Required - API name:backing_indicesAdds all elements of
listtobackingIndices. -
backingIndices
public final ResolveIndexDataStreamsItem.Builder backingIndices(java.lang.String value, java.lang.String... values)Required - API name:backing_indicesAdds one or more values to
backingIndices. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<ResolveIndexDataStreamsItem.Builder>
-
build
Builds aResolveIndexDataStreamsItem.- Specified by:
buildin interfaceObjectBuilder<ResolveIndexDataStreamsItem>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-