Class DownsampleAction.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<DownsampleAction.Builder>
co.elastic.clients.elasticsearch.ilm.DownsampleAction.Builder
- All Implemented Interfaces:
WithJson<DownsampleAction.Builder>
,ObjectBuilder<DownsampleAction>
- Enclosing class:
- DownsampleAction
public static class DownsampleAction.Builder
extends WithJsonObjectBuilderBase<DownsampleAction.Builder>
implements ObjectBuilder<DownsampleAction>
Builder for
DownsampleAction
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aDownsampleAction
.final DownsampleAction.Builder
fixedInterval
(Time value) Required - API name:fixed_interval
final DownsampleAction.Builder
Required - API name:fixed_interval
protected DownsampleAction.Builder
self()
final DownsampleAction.Builder
waitTimeout
(Time value) API name:wait_timeout
final DownsampleAction.Builder
API name:wait_timeout
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
-
fixedInterval
Required - API name:fixed_interval
-
fixedInterval
Required - API name:fixed_interval
-
waitTimeout
API name:wait_timeout
-
waitTimeout
API name:wait_timeout
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<DownsampleAction.Builder>
-
build
Builds aDownsampleAction
.- Specified by:
build
in interfaceObjectBuilder<DownsampleAction>
- Throws:
NullPointerException
- if some of the required fields are null.
-