Class RepositorySnapshotStats.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<RepositorySnapshotStats.Builder>
co.elastic.clients.elasticsearch.nodes.RepositorySnapshotStats.Builder
- All Implemented Interfaces:
WithJson<RepositorySnapshotStats.Builder>,ObjectBuilder<RepositorySnapshotStats>
- Enclosing class:
- RepositorySnapshotStats
public static class RepositorySnapshotStats.Builder
extends WithJsonObjectBuilderBase<RepositorySnapshotStats.Builder>
implements ObjectBuilder<RepositorySnapshotStats>
Builder for
RepositorySnapshotStats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aRepositorySnapshotStats.protected RepositorySnapshotStats.Builderself()shardSnapshotsCompleted(long value) Required - The number of shard snapshots completed for this repository.shardSnapshotsInProgress(long value) Required - The number of shard snapshots currently in progress for this repository.shardSnapshotsStarted(long value) Required - The number of shard snapshots started for this repository.totalReadThrottledTime(Time value) The cumulative time spent throttling read operations for this repository.The cumulative time spent throttling read operations for this repository.totalReadThrottledTimeNanos(long value) Required - The cumulative time, in nanoseconds, spent throttling read operations for this repository.totalReadTime(Time value) The cumulative time spent reading blobs while uploading to this repository.The cumulative time spent reading blobs while uploading to this repository.totalReadTimeInMillis(long value) Required - The cumulative time, in milliseconds, spent reading blobs while uploading to this repository.totalUploadTime(Time value) The cumulative time spent uploading blobs to this repository.The cumulative time spent uploading blobs to this repository.totalUploadTimeInMillis(long value) Required - The cumulative time, in milliseconds, spent uploading blobs to this repository.totalWriteThrottledTime(Time value) The cumulative time spent throttling write operations for this repository.The cumulative time spent throttling write operations for this repository.totalWriteThrottledTimeNanos(long value) Required - The cumulative time, in nanoseconds, spent throttling write operations for this repository.uploadedBlobs(long value) Required - The number of blobs uploaded to this repository.uploadedSize(String value) The cumulative size of the blobs uploaded to this repository.uploadedSizeInBytes(long value) Required - The cumulative size, in bytes, of the blobs uploaded to this repository.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
-
totalReadThrottledTime
The cumulative time spent throttling read operations for this repository.API name:
total_read_throttled_time -
totalReadThrottledTime
public final RepositorySnapshotStats.Builder totalReadThrottledTime(Function<Time.Builder, ObjectBuilder<Time>> fn) The cumulative time spent throttling read operations for this repository.API name:
total_read_throttled_time -
totalWriteThrottledTime
The cumulative time spent throttling write operations for this repository.API name:
total_write_throttled_time -
totalWriteThrottledTime
public final RepositorySnapshotStats.Builder totalWriteThrottledTime(Function<Time.Builder, ObjectBuilder<Time>> fn) The cumulative time spent throttling write operations for this repository.API name:
total_write_throttled_time -
totalReadThrottledTimeNanos
Required - The cumulative time, in nanoseconds, spent throttling read operations for this repository.API name:
total_read_throttled_time_nanos -
totalWriteThrottledTimeNanos
Required - The cumulative time, in nanoseconds, spent throttling write operations for this repository.API name:
total_write_throttled_time_nanos -
shardSnapshotsStarted
Required - The number of shard snapshots started for this repository.API name:
shard_snapshots_started -
shardSnapshotsCompleted
Required - The number of shard snapshots completed for this repository.API name:
shard_snapshots_completed -
shardSnapshotsInProgress
Required - The number of shard snapshots currently in progress for this repository.API name:
shard_snapshots_in_progress -
uploadedBlobs
Required - The number of blobs uploaded to this repository.API name:
uploaded_blobs -
uploadedSize
The cumulative size of the blobs uploaded to this repository.API name:
uploaded_size -
uploadedSizeInBytes
Required - The cumulative size, in bytes, of the blobs uploaded to this repository.API name:
uploaded_size_in_bytes -
totalUploadTime
The cumulative time spent uploading blobs to this repository.API name:
total_upload_time -
totalUploadTime
public final RepositorySnapshotStats.Builder totalUploadTime(Function<Time.Builder, ObjectBuilder<Time>> fn) The cumulative time spent uploading blobs to this repository.API name:
total_upload_time -
totalUploadTimeInMillis
Required - The cumulative time, in milliseconds, spent uploading blobs to this repository.API name:
total_upload_time_in_millis -
totalReadTime
The cumulative time spent reading blobs while uploading to this repository.API name:
total_read_time -
totalReadTime
public final RepositorySnapshotStats.Builder totalReadTime(Function<Time.Builder, ObjectBuilder<Time>> fn) The cumulative time spent reading blobs while uploading to this repository.API name:
total_read_time -
totalReadTimeInMillis
Required - The cumulative time, in milliseconds, spent reading blobs while uploading to this repository.API name:
total_read_time_in_millis -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<RepositorySnapshotStats.Builder>
-
build
Builds aRepositorySnapshotStats.- Specified by:
buildin interfaceObjectBuilder<RepositorySnapshotStats>- Throws:
NullPointerException- if some of the required fields are null.
-