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 -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aDecayPlacement.final DecayPlacement.BuilderAPI name:decayfinal DecayPlacement.BuilderAPI name:offsetfinal DecayPlacement.BuilderAPI name:originfinal DecayPlacement.BuilderAPI 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, _mapPutAll
-
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:
NullPointerException- if some of the required fields are null.
-