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 Summary
Constructors -
Method Summary
Modifier 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.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
snapshots
Required - Snapshots currently in progressAPI name:
snapshots -
shardSnapshots
Required - Incomplete shard snapshotsAPI name:
shard_snapshots -
snapshotDeletions
Required - Snapshots deletions in progressAPI name:
snapshot_deletions -
concurrentOperations
Required - Sum of snapshots and snapshot_deletionsAPI name:
concurrent_operations -
cleanups
Required - Cleanups in progress, not counted in concurrent_operations as they are not concurrentAPI name:
cleanups -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<SnapshotCurrentCounts.Builder>
-
build
Builds aSnapshotCurrentCounts.- Specified by:
buildin interfaceObjectBuilder<SnapshotCurrentCounts>- Throws:
NullPointerException- if some of the required fields are null.
-