Class IntervalsPrefix.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.query_dsl.IntervalsPrefix.Builder
-
- All Implemented Interfaces:
ObjectBuilder<IntervalsPrefix>
- Enclosing class:
- IntervalsPrefix
public static class IntervalsPrefix.Builder extends ObjectBuilderBase implements ObjectBuilder<IntervalsPrefix>
Builder forIntervalsPrefix
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntervalsPrefix.Builder
analyzer(java.lang.String value)
API name:analyzer
IntervalsPrefix
build()
Builds aIntervalsPrefix
.IntervalsPrefix.Builder
prefix(java.lang.String value)
Required - API name:prefix
IntervalsPrefix.Builder
useField(java.lang.String value)
API name:use_field
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
analyzer
public final IntervalsPrefix.Builder analyzer(@Nullable java.lang.String value)
API name:analyzer
-
prefix
public final IntervalsPrefix.Builder prefix(java.lang.String value)
Required - API name:prefix
-
useField
public final IntervalsPrefix.Builder useField(@Nullable java.lang.String value)
API name:use_field
-
build
public IntervalsPrefix build()
Builds aIntervalsPrefix
.- Specified by:
build
in interfaceObjectBuilder<IntervalsPrefix>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
-