Class DanglingIndex.Builder
java.lang.Object
co.elastic.clients.elasticsearch.dangling_indices.list_dangling_indices.DanglingIndex.Builder
- All Implemented Interfaces:
ObjectBuilder<DanglingIndex>
- Enclosing class:
- DanglingIndex
public static class DanglingIndex.Builder extends java.lang.Object implements ObjectBuilder<DanglingIndex>
Builder for
DanglingIndex
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description DanglingIndex.Builder
addNodeIds(java.lang.String value)
Add a value tonodeIds(List)
, creating the list if needed.DanglingIndex
build()
Builds aDanglingIndex
.DanglingIndex.Builder
creationDateMillis(java.lang.String value)
Required - API name:creation_date_millis
DanglingIndex.Builder
indexName(java.lang.String value)
Required - API name:index_name
DanglingIndex.Builder
indexUuid(java.lang.String value)
Required - API name:index_uuid
DanglingIndex.Builder
nodeIds(java.lang.String... value)
Required - API name:node_ids
DanglingIndex.Builder
nodeIds(java.util.List<java.lang.String> value)
Required - API name:node_ids
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
indexName
Required - API name:index_name
-
indexUuid
Required - API name:index_uuid
-
creationDateMillis
Required - API name:creation_date_millis
-
nodeIds
Required - API name:node_ids
-
nodeIds
Required - API name:node_ids
-
addNodeIds
Add a value tonodeIds(List)
, creating the list if needed. -
build
Builds aDanglingIndex
.- Specified by:
build
in interfaceObjectBuilder<DanglingIndex>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-