Class RecoveryRecord.Builder

All Implemented Interfaces:
Enclosing class:

public static class RecoveryRecord.Builder
extends ObjectBuilderBase
implements ObjectBuilder<RecoveryRecord>
Builder for RecoveryRecord.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • index

      public final RecoveryRecord.Builder index​(@Nullable java.lang.String value)
      index name

      API name: index

    • shard

      public final RecoveryRecord.Builder shard​(@Nullable java.lang.String value)
      shard name

      API name: shard

    • startTime

      public final RecoveryRecord.Builder startTime​(@Nullable java.lang.String value)
      recovery start time

      API name: start_time

    • startTimeMillis

      public final RecoveryRecord.Builder startTimeMillis​(@Nullable java.lang.String value)
      recovery start time in epoch milliseconds

      API name: start_time_millis

    • stopTime

      public final RecoveryRecord.Builder stopTime​(@Nullable java.lang.String value)
      recovery stop time

      API name: stop_time

    • stopTimeMillis

      public final RecoveryRecord.Builder stopTimeMillis​(@Nullable java.lang.String value)
      recovery stop time in epoch milliseconds

      API name: stop_time_millis

    • time

      public final RecoveryRecord.Builder time​(@Nullable java.lang.String value)
      recovery time

      API name: time

    • type

      public final RecoveryRecord.Builder type​(@Nullable java.lang.String value)
      recovery type

      API name: type

    • stage

      public final RecoveryRecord.Builder stage​(@Nullable java.lang.String value)
      recovery stage

      API name: stage

    • sourceHost

      public final RecoveryRecord.Builder sourceHost​(@Nullable java.lang.String value)
      source host

      API name: source_host

    • sourceNode

      public final RecoveryRecord.Builder sourceNode​(@Nullable java.lang.String value)
      source node name

      API name: source_node

    • targetHost

      public final RecoveryRecord.Builder targetHost​(@Nullable java.lang.String value)
      target host

      API name: target_host

    • targetNode

      public final RecoveryRecord.Builder targetNode​(@Nullable java.lang.String value)
      target node name

      API name: target_node

    • repository

      public final RecoveryRecord.Builder repository​(@Nullable java.lang.String value)

      API name: repository

    • snapshot

      public final RecoveryRecord.Builder snapshot​(@Nullable java.lang.String value)

      API name: snapshot

    • files

      public final RecoveryRecord.Builder files​(@Nullable java.lang.String value)
      number of files to recover

      API name: files

    • filesRecovered

      public final RecoveryRecord.Builder filesRecovered​(@Nullable java.lang.String value)
      files recovered

      API name: files_recovered

    • filesPercent

      public final RecoveryRecord.Builder filesPercent​(@Nullable java.lang.String value)
      percent of files recovered

      API name: files_percent

    • filesTotal

      public final RecoveryRecord.Builder filesTotal​(@Nullable java.lang.String value)
      total number of files

      API name: files_total

    • bytes

      public final RecoveryRecord.Builder bytes​(@Nullable java.lang.String value)
      number of bytes to recover

      API name: bytes

    • bytesRecovered

      public final RecoveryRecord.Builder bytesRecovered​(@Nullable java.lang.String value)
      bytes recovered

      API name: bytes_recovered

    • bytesPercent

      public final RecoveryRecord.Builder bytesPercent​(@Nullable java.lang.String value)
      percent of bytes recovered

      API name: bytes_percent

    • bytesTotal

      public final RecoveryRecord.Builder bytesTotal​(@Nullable java.lang.String value)
      total number of bytes

      API name: bytes_total

    • translogOps

      public final RecoveryRecord.Builder translogOps​(@Nullable java.lang.String value)
      number of translog ops to recover

      API name: translog_ops

    • translogOpsRecovered

      public final RecoveryRecord.Builder translogOpsRecovered​(@Nullable java.lang.String value)
      translog ops recovered

      API name: translog_ops_recovered

    • translogOpsPercent

      public final RecoveryRecord.Builder translogOpsPercent​(@Nullable java.lang.String value)
      percent of translog ops recovered

      API name: translog_ops_percent

    • build

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