Class DecayPlacement.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<DecayPlacement.Builder>
co.elastic.clients.elasticsearch._types.query_dsl.DecayPlacement.Builder
- All Implemented Interfaces:
WithJson<DecayPlacement.Builder>
,ObjectBuilder<DecayPlacement>
- Enclosing class:
- DecayPlacement
public static class DecayPlacement.Builder extends WithJsonObjectBuilderBase<DecayPlacement.Builder> implements ObjectBuilder<DecayPlacement>
Builder for
DecayPlacement
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description DecayPlacement
build()
Builds aDecayPlacement
.DecayPlacement.Builder
decay(java.lang.Double value)
API name:decay
DecayPlacement.Builder
offset(JsonData value)
API name:offset
DecayPlacement.Builder
origin(JsonData value)
API name:origin
DecayPlacement.Builder
scale(JsonData value)
API name:scale
protected DecayPlacement.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
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
-
decay
API name:decay
-
offset
API name:offset
-
scale
API name:scale
-
origin
API name:origin
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<DecayPlacement.Builder>
-
build
Builds aDecayPlacement
.- Specified by:
build
in interfaceObjectBuilder<DecayPlacement>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-