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 DecayPlacementbuild()Builds aDecayPlacement.DecayPlacement.Builderdecay(java.lang.Double value)API name:decayDecayPlacement.Builderoffset(JsonData value)API name:offsetDecayPlacement.Builderorigin(JsonData value)API name:originDecayPlacement.Builderscale(JsonData value)API name:scaleprotected DecayPlacement.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods 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:
selfin classWithJsonObjectBuilderBase<DecayPlacement.Builder>
-
build
Builds aDecayPlacement.- Specified by:
buildin interfaceObjectBuilder<DecayPlacement>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-