Class Tombstone.Builder
java.lang.Object
org.opensearch.client.opensearch.cluster.Tombstone.Builder
- All Implemented Interfaces:
ObjectBuilder<Tombstone>
- Enclosing class:
- Tombstone
public static class Tombstone.Builder extends java.lang.Object implements ObjectBuilder<Tombstone>
Builder for
Tombstone.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.client.util.ObjectBuilder
ObjectBuilder.Constant<V> -
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description Tombstonebuild()Builds aTombstone.Tombstone.BuilderdeleteDate(java.lang.String value)API name:delete_dateTombstone.BuilderdeleteDateInMillis(java.lang.Number value)API name:delete_date_in_millisTombstone.Builderindex(java.util.function.Function<TombstoneIndex.Builder,ObjectBuilder<TombstoneIndex>> fn)API name:indexTombstone.Builderindex(TombstoneIndex value)API name:index
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
index
API name:index -
index
public Tombstone.Builder index(java.util.function.Function<TombstoneIndex.Builder,ObjectBuilder<TombstoneIndex>> fn)API name:index -
deleteDate
API name:delete_date -
deleteDateInMillis
API name:delete_date_in_millis -
build
Builds aTombstone.- Specified by:
buildin interfaceObjectBuilder<Tombstone>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-