Class Statistics.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<Statistics.Builder>
co.elastic.clients.elasticsearch.slm.Statistics.Builder
- All Implemented Interfaces:
WithJson<Statistics.Builder>
,ObjectBuilder<Statistics>
- Enclosing class:
- Statistics
public static class Statistics.Builder
extends WithJsonObjectBuilderBase<Statistics.Builder>
implements ObjectBuilder<Statistics>
Builder for
Statistics
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aStatistics
.final Statistics.Builder
API name:policy
final Statistics.Builder
retentionDeletionTime
(Time value) API name:retention_deletion_time
final Statistics.Builder
API name:retention_deletion_time
final Statistics.Builder
retentionDeletionTimeMillis
(Long value) API name:retention_deletion_time_millis
final Statistics.Builder
retentionFailed
(Long value) API name:retention_failed
final Statistics.Builder
retentionRuns
(Long value) API name:retention_runs
final Statistics.Builder
retentionTimedOut
(Long value) API name:retention_timed_out
protected Statistics.Builder
self()
final Statistics.Builder
API name:total_snapshot_deletion_failures
final Statistics.Builder
totalSnapshotsDeleted
(Long value) API name:total_snapshots_deleted
final Statistics.Builder
totalSnapshotsFailed
(Long value) API name:total_snapshots_failed
final Statistics.Builder
totalSnapshotsTaken
(Long value) API name:total_snapshots_taken
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
-
retentionDeletionTime
API name:retention_deletion_time
-
retentionDeletionTime
public final Statistics.Builder retentionDeletionTime(Function<Time.Builder, ObjectBuilder<Time>> fn) API name:retention_deletion_time
-
retentionDeletionTimeMillis
API name:retention_deletion_time_millis
-
retentionFailed
API name:retention_failed
-
retentionRuns
API name:retention_runs
-
retentionTimedOut
API name:retention_timed_out
-
policy
API name:policy
-
totalSnapshotsDeleted
API name:total_snapshots_deleted
-
totalSnapshotDeletionFailures
API name:total_snapshot_deletion_failures
-
totalSnapshotsFailed
API name:total_snapshots_failed
-
totalSnapshotsTaken
API name:total_snapshots_taken
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<Statistics.Builder>
-
build
Builds aStatistics
.- Specified by:
build
in interfaceObjectBuilder<Statistics>
- Throws:
NullPointerException
- if some of the required fields are null.
-