Class ResolveIndexItem.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.indices.resolve_index.ResolveIndexItem.Builder
- All Implemented Interfaces:
ObjectBuilder<ResolveIndexItem>
- Enclosing class:
- ResolveIndexItem
public static class ResolveIndexItem.Builder extends ObjectBuilderBase implements ObjectBuilder<ResolveIndexItem>
Builder for
ResolveIndexItem.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ResolveIndexItem.Builderaliases(java.lang.String value, java.lang.String... values)API name:aliasesResolveIndexItem.Builderaliases(java.util.List<java.lang.String> list)API name:aliasesResolveIndexItem.Builderattributes(java.lang.String value, java.lang.String... values)Required - API name:attributesResolveIndexItem.Builderattributes(java.util.List<java.lang.String> list)Required - API name:attributesResolveIndexItembuild()Builds aResolveIndexItem.ResolveIndexItem.BuilderdataStream(java.lang.String value)API name:data_streamResolveIndexItem.Buildername(java.lang.String value)Required - API name:nameMethods 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 -
aliases
API name:aliasesAdds all elements of
listtoaliases. -
aliases
API name:aliasesAdds one or more values to
aliases. -
attributes
Required - API name:attributesAdds all elements of
listtoattributes. -
attributes
public final ResolveIndexItem.Builder attributes(java.lang.String value, java.lang.String... values)Required - API name:attributesAdds one or more values to
attributes. -
dataStream
API name:data_stream -
build
Builds aResolveIndexItem.- Specified by:
buildin interfaceObjectBuilder<ResolveIndexItem>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-