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.BuilderbeforeWriteComplete(Boolean value) Indicates whether the read operation may have started before the write operation was complete.build()Builds aReadBlobDetails.final ReadBlobDetails.BuilderThe length of time spent reading the blob.final ReadBlobDetails.BuilderThe length of time spent reading the blob.final ReadBlobDetails.BuilderelapsedNanos(Long value) The length of time spent reading the blob, in nanoseconds.final ReadBlobDetails.BuilderfirstByteTime(Time value) The length of time waiting for the first byte of the read operation to be received.final ReadBlobDetails.BuilderThe length of time waiting for the first byte of the read operation to be received.final ReadBlobDetails.BuilderfirstByteTimeNanos(long value) Required - The length of time waiting for the first byte of the read operation to be received, in nanoseconds.final ReadBlobDetails.Builderfound(boolean value) Required - Indicates whether the blob was found by the read operation.final ReadBlobDetails.Buildernode(SnapshotNodeInfo value) Required - The node that performed the read operation.final ReadBlobDetails.BuilderRequired - The node that performed the read operation.protected ReadBlobDetails.Builderself()final ReadBlobDetails.BuilderThe length of time spent waiting due to themax_restore_bytes_per_secorindices.recovery.max_bytes_per_secthrottles during the read of the blob.final ReadBlobDetails.BuilderThe length of time spent waiting due to themax_restore_bytes_per_secorindices.recovery.max_bytes_per_secthrottles during the read of the blob.final ReadBlobDetails.BuilderthrottledNanos(Long value) The length of time spent waiting due to themax_restore_bytes_per_secorindices.recovery.max_bytes_per_secthrottles during the read of the blob, in nanoseconds.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
-
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_secorindices.recovery.max_bytes_per_secthrottles 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_secorindices.recovery.max_bytes_per_secthrottles 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_secorindices.recovery.max_bytes_per_secthrottles 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:
selfin classWithJsonObjectBuilderBase<ReadBlobDetails.Builder>
-
build
Builds aReadBlobDetails.- Specified by:
buildin interfaceObjectBuilder<ReadBlobDetails>- Throws:
NullPointerException- if some of the required fields are null.
-