Class Actions.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<Actions.Builder>
co.elastic.clients.elasticsearch.ilm.Actions.Builder
- All Implemented Interfaces:
WithJson<Actions.Builder>,ObjectBuilder<Actions>
- Enclosing class:
- Actions
public static class Actions.Builder
extends WithJsonObjectBuilderBase<Actions.Builder>
implements ObjectBuilder<Actions>
Builder for
Actions.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Actions.Builderallocate(AllocateAction value) Phases allowed: warm, cold.final Actions.BuilderPhases allowed: warm, cold.build()Builds aActions.final Actions.Builderdelete(DeleteAction value) Phases allowed: delete.final Actions.BuilderPhases allowed: delete.final Actions.Builderdownsample(DownsampleAction value) Phases allowed: hot, warm, cold.final Actions.BuilderPhases allowed: hot, warm, cold.final Actions.Builderforcemerge(ForceMergeAction value) Phases allowed: hot, warm.final Actions.BuilderPhases allowed: hot, warm.final Actions.Builderfreeze(EmptyObject value) Deprecated.7.0.0final Actions.BuilderDeprecated.7.0.0final Actions.Buildermigrate(MigrateAction value) Phases allowed: warm, cold.final Actions.BuilderPhases allowed: warm, cold.final Actions.Builderreadonly(EmptyObject value) Phases allowed: hot, warm, cold.final Actions.BuilderPhases allowed: hot, warm, cold.final Actions.Builderrollover(RolloverAction value) Phases allowed: hot.final Actions.BuilderPhases allowed: hot.final Actions.BuilderPhases allowed: hot, cold, frozen.final Actions.BuildersearchableSnapshot(Function<SearchableSnapshotAction.Builder, ObjectBuilder<SearchableSnapshotAction>> fn) Phases allowed: hot, cold, frozen.protected Actions.Builderself()final Actions.BuildersetPriority(SetPriorityAction value) Phases allowed: hot, warm, cold.final Actions.BuilderPhases allowed: hot, warm, cold.final Actions.Buildershrink(ShrinkAction value) Phases allowed: hot, warm.final Actions.BuilderPhases allowed: hot, warm.final Actions.Builderunfollow(EmptyObject value) Phases allowed: hot, warm, cold, frozen.final Actions.BuilderPhases allowed: hot, warm, cold, frozen.final Actions.BuilderPhases allowed: delete.final Actions.BuilderPhases allowed: delete.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
-
allocate
Phases allowed: warm, cold.API name:
allocate -
allocate
public final Actions.Builder allocate(Function<AllocateAction.Builder, ObjectBuilder<AllocateAction>> fn) Phases allowed: warm, cold.API name:
allocate -
delete
Phases allowed: delete.API name:
delete -
delete
Phases allowed: delete.API name:
delete -
downsample
Phases allowed: hot, warm, cold.API name:
downsample -
downsample
public final Actions.Builder downsample(Function<DownsampleAction.Builder, ObjectBuilder<DownsampleAction>> fn) Phases allowed: hot, warm, cold.API name:
downsample -
freeze
Deprecated.7.0.0The freeze action is a noop in 8.xAPI name:
freeze -
freeze
@Deprecated public final Actions.Builder freeze(Function<EmptyObject.Builder, ObjectBuilder<EmptyObject>> fn) Deprecated.7.0.0The freeze action is a noop in 8.xAPI name:
freeze -
forcemerge
Phases allowed: hot, warm.API name:
forcemerge -
forcemerge
public final Actions.Builder forcemerge(Function<ForceMergeAction.Builder, ObjectBuilder<ForceMergeAction>> fn) Phases allowed: hot, warm.API name:
forcemerge -
migrate
Phases allowed: warm, cold.API name:
migrate -
migrate
public final Actions.Builder migrate(Function<MigrateAction.Builder, ObjectBuilder<MigrateAction>> fn) Phases allowed: warm, cold.API name:
migrate -
readonly
Phases allowed: hot, warm, cold.API name:
readonly -
readonly
Phases allowed: hot, warm, cold.API name:
readonly -
rollover
Phases allowed: hot.API name:
rollover -
rollover
public final Actions.Builder rollover(Function<RolloverAction.Builder, ObjectBuilder<RolloverAction>> fn) Phases allowed: hot.API name:
rollover -
setPriority
Phases allowed: hot, warm, cold.API name:
set_priority -
setPriority
public final Actions.Builder setPriority(Function<SetPriorityAction.Builder, ObjectBuilder<SetPriorityAction>> fn) Phases allowed: hot, warm, cold.API name:
set_priority -
searchableSnapshot
Phases allowed: hot, cold, frozen.API name:
searchable_snapshot -
searchableSnapshot
public final Actions.Builder searchableSnapshot(Function<SearchableSnapshotAction.Builder, ObjectBuilder<SearchableSnapshotAction>> fn) Phases allowed: hot, cold, frozen.API name:
searchable_snapshot -
shrink
Phases allowed: hot, warm.API name:
shrink -
shrink
Phases allowed: hot, warm.API name:
shrink -
unfollow
Phases allowed: hot, warm, cold, frozen.API name:
unfollow -
unfollow
Phases allowed: hot, warm, cold, frozen.API name:
unfollow -
waitForSnapshot
Phases allowed: delete.API name:
wait_for_snapshot -
waitForSnapshot
public final Actions.Builder waitForSnapshot(Function<WaitForSnapshotAction.Builder, ObjectBuilder<WaitForSnapshotAction>> fn) Phases allowed: delete.API name:
wait_for_snapshot -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<Actions.Builder>
-
build
Builds aActions.- Specified by:
buildin interfaceObjectBuilder<Actions>- Throws:
NullPointerException- if some of the required fields are null.
-