Class ReadBlobDetails.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ReadBlobDetails.Builder>
co.elastic.clients.elasticsearch.snapshot.repository_analyze.ReadBlobDetails.Builder
- All Implemented Interfaces:
WithJson<ReadBlobDetails.Builder>
,ObjectBuilder<ReadBlobDetails>
- Enclosing class:
- ReadBlobDetails
public static class ReadBlobDetails.Builder
extends WithJsonObjectBuilderBase<ReadBlobDetails.Builder>
implements ObjectBuilder<ReadBlobDetails>
Builder for
ReadBlobDetails
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal ReadBlobDetails.Builder
beforeWriteComplete
(Boolean value) Indicates whether the read operation may have started before the write operation was complete.build()
Builds aReadBlobDetails
.final ReadBlobDetails.Builder
The length of time spent reading the blob.final ReadBlobDetails.Builder
The length of time spent reading the blob.final ReadBlobDetails.Builder
elapsedNanos
(Long value) The length of time spent reading the blob, in nanoseconds.final ReadBlobDetails.Builder
firstByteTime
(Time value) The length of time waiting for the first byte of the read operation to be received.final ReadBlobDetails.Builder
The length of time waiting for the first byte of the read operation to be received.final ReadBlobDetails.Builder
firstByteTimeNanos
(long value) Required - The length of time waiting for the first byte of the read operation to be received, in nanoseconds.final ReadBlobDetails.Builder
found
(boolean value) Required - Indicates whether the blob was found by the read operation.final ReadBlobDetails.Builder
node
(SnapshotNodeInfo value) Required - The node that performed the read operation.final ReadBlobDetails.Builder
Required - The node that performed the read operation.protected ReadBlobDetails.Builder
self()
final ReadBlobDetails.Builder
The length of time spent waiting due to themax_restore_bytes_per_sec
orindices.recovery.max_bytes_per_sec
throttles during the read of the blob.final ReadBlobDetails.Builder
The length of time spent waiting due to themax_restore_bytes_per_sec
orindices.recovery.max_bytes_per_sec
throttles during the read of the blob.final ReadBlobDetails.Builder
throttledNanos
(Long value) The length of time spent waiting due to themax_restore_bytes_per_sec
orindices.recovery.max_bytes_per_sec
throttles during the read of the blob, in nanoseconds.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
-
beforeWriteComplete
Indicates whether the read operation may have started before the write operation was complete.API name:
before_write_complete
-
elapsed
The length of time spent reading the blob. If the blob was not found, this detail is omitted.API name:
elapsed
-
elapsed
The length of time spent reading the blob. If the blob was not found, this detail is omitted.API name:
elapsed
-
elapsedNanos
The length of time spent reading the blob, in nanoseconds. If the blob was not found, this detail is omitted.API name:
elapsed_nanos
-
firstByteTime
The length of time waiting for the first byte of the read operation to be received. If the blob was not found, this detail is omitted.API name:
first_byte_time
-
firstByteTime
The length of time waiting for the first byte of the read operation to be received. If the blob was not found, this detail is omitted.API name:
first_byte_time
-
firstByteTimeNanos
Required - The length of time waiting for the first byte of the read operation to be received, in nanoseconds. If the blob was not found, this detail is omitted.API name:
first_byte_time_nanos
-
found
Required - Indicates whether the blob was found by the read operation. If the read was started before the write completed or the write was ended before completion, it might be false.API name:
found
-
node
Required - The node that performed the read operation.API name:
node
-
node
public final ReadBlobDetails.Builder node(Function<SnapshotNodeInfo.Builder, ObjectBuilder<SnapshotNodeInfo>> fn) Required - The node that performed the read operation.API name:
node
-
throttled
The length of time spent waiting due to themax_restore_bytes_per_sec
orindices.recovery.max_bytes_per_sec
throttles during the read of the blob. If the blob was not found, this detail is omitted.API name:
throttled
-
throttled
The length of time spent waiting due to themax_restore_bytes_per_sec
orindices.recovery.max_bytes_per_sec
throttles during the read of the blob. If the blob was not found, this detail is omitted.API name:
throttled
-
throttledNanos
The length of time spent waiting due to themax_restore_bytes_per_sec
orindices.recovery.max_bytes_per_sec
throttles during the read of the blob, in nanoseconds. If the blob was not found, this detail is omitted.API name:
throttled_nanos
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<ReadBlobDetails.Builder>
-
build
Builds aReadBlobDetails
.- Specified by:
build
in interfaceObjectBuilder<ReadBlobDetails>
- Throws:
NullPointerException
- if some of the required fields are null.
-