Class ListDanglingIndicesResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ListDanglingIndicesResponse.Builder>
co.elastic.clients.elasticsearch.dangling_indices.ListDanglingIndicesResponse.Builder
- All Implemented Interfaces:
WithJson<ListDanglingIndicesResponse.Builder>,ObjectBuilder<ListDanglingIndicesResponse>
- Enclosing class:
- ListDanglingIndicesResponse
public static class ListDanglingIndicesResponse.Builder
extends WithJsonObjectBuilderBase<ListDanglingIndicesResponse.Builder>
implements ObjectBuilder<ListDanglingIndicesResponse>
Builder for
ListDanglingIndicesResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aListDanglingIndicesResponse.danglingIndices(DanglingIndex value, DanglingIndex... values) Required - API name:dangling_indicesRequired - API name:dangling_indicesdanglingIndices(List<DanglingIndex> list) Required - API name:dangling_indicesprotected ListDanglingIndicesResponse.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
-
danglingIndices
Required - API name:dangling_indicesAdds all elements of
listtodanglingIndices. -
danglingIndices
public final ListDanglingIndicesResponse.Builder danglingIndices(DanglingIndex value, DanglingIndex... values) Required - API name:dangling_indicesAdds one or more values to
danglingIndices. -
danglingIndices
public final ListDanglingIndicesResponse.Builder danglingIndices(Function<DanglingIndex.Builder, ObjectBuilder<DanglingIndex>> fn) Required - API name:dangling_indicesAdds a value to
danglingIndicesusing a builder lambda. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<ListDanglingIndicesResponse.Builder>
-
build
Builds aListDanglingIndicesResponse.- Specified by:
buildin interfaceObjectBuilder<ListDanglingIndicesResponse>- Throws:
NullPointerException- if some of the required fields are null.
-