Class SnapshotCurrentCounts.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<SnapshotCurrentCounts.Builder>
co.elastic.clients.elasticsearch.cluster.stats.SnapshotCurrentCounts.Builder
- All Implemented Interfaces:
- WithJson<SnapshotCurrentCounts.Builder>,- ObjectBuilder<SnapshotCurrentCounts>
- Enclosing class:
- SnapshotCurrentCounts
public static class SnapshotCurrentCounts.Builder
extends WithJsonObjectBuilderBase<SnapshotCurrentCounts.Builder>
implements ObjectBuilder<SnapshotCurrentCounts>
Builder for 
SnapshotCurrentCounts.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aSnapshotCurrentCounts.cleanups(int value) Required - Cleanups in progress, not counted in concurrent_operations as they are not concurrentconcurrentOperations(int value) Required - Sum of snapshots and snapshot_deletionsprotected SnapshotCurrentCounts.Builderself()shardSnapshots(int value) Required - Incomplete shard snapshotssnapshotDeletions(int value) Required - Snapshots deletions in progresssnapshots(int value) Required - Snapshots currently in progressMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
snapshotsRequired - Snapshots currently in progressAPI name: snapshots
- 
shardSnapshotsRequired - Incomplete shard snapshotsAPI name: shard_snapshots
- 
snapshotDeletionsRequired - Snapshots deletions in progressAPI name: snapshot_deletions
- 
concurrentOperationsRequired - Sum of snapshots and snapshot_deletionsAPI name: concurrent_operations
- 
cleanupsRequired - Cleanups in progress, not counted in concurrent_operations as they are not concurrentAPI name: cleanups
- 
self- Specified by:
- selfin class- WithJsonObjectBuilderBase<SnapshotCurrentCounts.Builder>
 
- 
buildBuilds aSnapshotCurrentCounts.- Specified by:
- buildin interface- ObjectBuilder<SnapshotCurrentCounts>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-