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
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description Statistics
build()
Builds aStatistics
.Statistics.Builder
policy(java.lang.String value)
API name:policy
Statistics.Builder
retentionDeletionTime(DateTime value)
API name:retention_deletion_time
Statistics.Builder
retentionDeletionTimeMillis(DateTime value)
API name:retention_deletion_time_millis
Statistics.Builder
retentionFailed(java.lang.Long value)
API name:retention_failed
Statistics.Builder
retentionRuns(java.lang.Long value)
API name:retention_runs
Statistics.Builder
retentionTimedOut(java.lang.Long value)
API name:retention_timed_out
protected Statistics.Builder
self()
Statistics.Builder
totalSnapshotDeletionFailures(java.lang.Long value)
API name:total_snapshot_deletion_failures
Statistics.Builder
totalSnapshotsDeleted(java.lang.Long value)
API name:total_snapshots_deleted
Statistics.Builder
totalSnapshotsFailed(java.lang.Long value)
API name:total_snapshots_failed
Statistics.Builder
totalSnapshotsTaken(java.lang.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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
retentionDeletionTime
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:
java.lang.NullPointerException
- if some of the required fields are null.
-