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
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aDecayPlacement
.final DecayPlacement.Builder
API name:decay
final DecayPlacement.Builder
API name:offset
final DecayPlacement.Builder
API name:origin
final DecayPlacement.Builder
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
-
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:
NullPointerException
- if some of the required fields are null.
-