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 Details

    • Builder

      public Builder()
  • Method Details

    • blob

      public final DetailsInfo.Builder blob(BlobDetails value)
      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

      public final DetailsInfo.Builder overwriteElapsed(@Nullable Time value)
      The elapsed time spent overwriting the blob. If the blob was not overwritten, this information is omitted.

      API name: overwrite_elapsed

    • overwriteElapsed

      public final DetailsInfo.Builder overwriteElapsed(Function<Time.Builder,ObjectBuilder<Time>> fn)
      The elapsed time spent overwriting the blob. If the blob was not overwritten, this information is omitted.

      API name: overwrite_elapsed

    • overwriteElapsedNanos

      public final DetailsInfo.Builder overwriteElapsedNanos(@Nullable Long value)
      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

      public final DetailsInfo.Builder writeElapsed(Time value)
      Required - The elapsed time spent writing the blob.

      API name: write_elapsed

    • writeElapsed

      public final DetailsInfo.Builder writeElapsed(Function<Time.Builder,ObjectBuilder<Time>> fn)
      Required - The elapsed time spent writing the blob.

      API name: write_elapsed

    • writeElapsedNanos

      public final DetailsInfo.Builder writeElapsedNanos(long value)
      Required - The elapsed time spent writing the blob, in nanoseconds.

      API name: write_elapsed_nanos

    • writeThrottled

      public final DetailsInfo.Builder writeThrottled(Time value)
      Required - The length of time spent waiting for the max_snapshot_bytes_per_sec (or indices.recovery.max_bytes_per_sec if the recovery settings for managed services are set) throttle while writing the blob.

      API name: write_throttled

    • writeThrottled

      public final DetailsInfo.Builder writeThrottled(Function<Time.Builder,ObjectBuilder<Time>> fn)
      Required - The length of time spent waiting for the max_snapshot_bytes_per_sec (or indices.recovery.max_bytes_per_sec if the recovery settings for managed services are set) throttle while writing the blob.

      API name: write_throttled

    • writeThrottledNanos

      public final DetailsInfo.Builder writeThrottledNanos(long value)
      Required - The length of time spent waiting for the max_snapshot_bytes_per_sec (or indices.recovery.max_bytes_per_sec if the recovery settings for managed services are set) throttle while writing the blob, in nanoseconds.

      API name: write_throttled_nanos

    • writerNode

      public final DetailsInfo.Builder writerNode(SnapshotNodeInfo value)
      Required - The node which wrote the blob and coordinated the read operations.

      API name: writer_node

    • writerNode

      Required - The node which wrote the blob and coordinated the read operations.

      API name: writer_node

    • self

      protected DetailsInfo.Builder self()
      Specified by:
      self in class WithJsonObjectBuilderBase<DetailsInfo.Builder>
    • build

      public DetailsInfo build()
      Builds a DetailsInfo.
      Specified by:
      build in interface ObjectBuilder<DetailsInfo>
      Throws:
      NullPointerException - if some of the required fields are null.