Class DetailsInfo.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<DetailsInfo.Builder>
co.elastic.clients.elasticsearch.snapshot.repository_analyze.DetailsInfo.Builder
- All Implemented Interfaces:
WithJson<DetailsInfo.Builder>,ObjectBuilder<DetailsInfo>
- Enclosing class:
- DetailsInfo
public static class DetailsInfo.Builder
extends WithJsonObjectBuilderBase<DetailsInfo.Builder>
implements ObjectBuilder<DetailsInfo>
Builder for
DetailsInfo.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal DetailsInfo.Builderblob(BlobDetails value) Required - A description of the blob that was written and read.final DetailsInfo.BuilderRequired - A description of the blob that was written and read.build()Builds aDetailsInfo.final DetailsInfo.BuilderoverwriteElapsed(Time value) The elapsed time spent overwriting the blob.final DetailsInfo.BuilderThe elapsed time spent overwriting the blob.final DetailsInfo.BuilderoverwriteElapsedNanos(Long value) The elapsed time spent overwriting the blob, in nanoseconds.protected DetailsInfo.Builderself()final DetailsInfo.BuilderwriteElapsed(Time value) Required - The elapsed time spent writing the blob.final DetailsInfo.BuilderRequired - The elapsed time spent writing the blob.final DetailsInfo.BuilderwriteElapsedNanos(long value) Required - The elapsed time spent writing the blob, in nanoseconds.final DetailsInfo.BuilderwriterNode(SnapshotNodeInfo value) Required - The node which wrote the blob and coordinated the read operations.final DetailsInfo.BuilderRequired - The node which wrote the blob and coordinated the read operations.final DetailsInfo.BuilderwriteThrottled(Time value) Required - The length of time spent waiting for themax_snapshot_bytes_per_sec(orindices.recovery.max_bytes_per_secif the recovery settings for managed services are set) throttle while writing the blob.final DetailsInfo.BuilderRequired - The length of time spent waiting for themax_snapshot_bytes_per_sec(orindices.recovery.max_bytes_per_secif the recovery settings for managed services are set) throttle while writing the blob.final DetailsInfo.BuilderwriteThrottledNanos(long value) Required - The length of time spent waiting for themax_snapshot_bytes_per_sec(orindices.recovery.max_bytes_per_secif the recovery settings for managed services are set) throttle while writing 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
-
blob
Required - A description of the blob that was written and read.API name:
blob -
blob
Required - A description of the blob that was written and read.API name:
blob -
overwriteElapsed
The elapsed time spent overwriting the blob. If the blob was not overwritten, this information is omitted.API name:
overwrite_elapsed -
overwriteElapsed
The elapsed time spent overwriting the blob. If the blob was not overwritten, this information is omitted.API name:
overwrite_elapsed -
overwriteElapsedNanos
The elapsed time spent overwriting the blob, in nanoseconds. If the blob was not overwritten, this information is omitted.API name:
overwrite_elapsed_nanos -
writeElapsed
Required - The elapsed time spent writing the blob.API name:
write_elapsed -
writeElapsed
Required - The elapsed time spent writing the blob.API name:
write_elapsed -
writeElapsedNanos
Required - The elapsed time spent writing the blob, in nanoseconds.API name:
write_elapsed_nanos -
writeThrottled
Required - The length of time spent waiting for themax_snapshot_bytes_per_sec(orindices.recovery.max_bytes_per_secif the recovery settings for managed services are set) throttle while writing the blob.API name:
write_throttled -
writeThrottled
Required - The length of time spent waiting for themax_snapshot_bytes_per_sec(orindices.recovery.max_bytes_per_secif the recovery settings for managed services are set) throttle while writing the blob.API name:
write_throttled -
writeThrottledNanos
Required - The length of time spent waiting for themax_snapshot_bytes_per_sec(orindices.recovery.max_bytes_per_secif the recovery settings for managed services are set) throttle while writing the blob, in nanoseconds.API name:
write_throttled_nanos -
writerNode
Required - The node which wrote the blob and coordinated the read operations.API name:
writer_node -
writerNode
public final DetailsInfo.Builder writerNode(Function<SnapshotNodeInfo.Builder, ObjectBuilder<SnapshotNodeInfo>> fn) Required - The node which wrote the blob and coordinated the read operations.API name:
writer_node -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<DetailsInfo.Builder>
-
build
Builds aDetailsInfo.- Specified by:
buildin interfaceObjectBuilder<DetailsInfo>- Throws:
NullPointerException- if some of the required fields are null.
-