Class SegmentReplicationRecord.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.cat.segment_replication.SegmentReplicationRecord.Builder
- All Implemented Interfaces:
CopyableBuilder<SegmentReplicationRecord.Builder,,SegmentReplicationRecord> MutableBuilder<SegmentReplicationRecord.Builder,,SegmentReplicationRecord> ObjectBuilder<SegmentReplicationRecord>
- Enclosing class:
SegmentReplicationRecord
public static class SegmentReplicationRecord.Builder
extends ObjectBuilderBase
implements CopyableBuilder<SegmentReplicationRecord.Builder,SegmentReplicationRecord>
Builder for
SegmentReplicationRecord.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aSegmentReplicationRecord.API name:bytesbytesBehind(String value) API name:bytes_behindbytesFetched(String value) API name:bytes_fetchedbytesPercent(String value) API name:bytes_percentbytesTotal(String value) API name:bytes_totalcheckpointsBehind(String value) API name:checkpoints_behindcopy()Create a new builderCopyableBuilderthat is a copy of this one.currentLag(String value) API name:current_lagfileDiffStageTimeTaken(String value) API name:file_diff_stage_time_takenAPI name:filesfilesFetched(String value) API name:files_fetchedfilesPercent(String value) API name:files_percentfilesTotal(String value) API name:files_totalAPI name:finalize_replication_stage_time_takenAPI name:get_checkpoint_info_stage_time_takengetFilesStageTimeTaken(String value) API name:get_files_stage_time_takenlastCompletedLag(String value) API name:last_completed_lagrejectedRequests(String value) API name:rejected_requestsreplicatingStageTimeTaken(String value) API name:replicating_stage_time_takenAPI name:shardIdAPI name:stageAPI name:start_timeAPI name:stop_timetargetHost(String value) API name:target_hosttargetNode(String value) API name:target_nodeAPI name:timeMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<SegmentReplicationRecord.Builder,SegmentReplicationRecord> - Returns:
- a new builder instance.
-
bytes
API name:bytes -
bytesBehind
API name:bytes_behind -
bytesFetched
API name:bytes_fetched -
bytesPercent
API name:bytes_percent -
bytesTotal
API name:bytes_total -
checkpointsBehind
API name:checkpoints_behind -
currentLag
API name:current_lag -
fileDiffStageTimeTaken
@Nonnull public final SegmentReplicationRecord.Builder fileDiffStageTimeTaken(@Nullable String value) API name:file_diff_stage_time_taken -
files
API name:files -
filesFetched
API name:files_fetched -
filesPercent
API name:files_percent -
filesTotal
API name:files_total -
finalizeReplicationStageTimeTaken
@Nonnull public final SegmentReplicationRecord.Builder finalizeReplicationStageTimeTaken(@Nullable String value) API name:finalize_replication_stage_time_taken -
getCheckpointInfoStageTimeTaken
@Nonnull public final SegmentReplicationRecord.Builder getCheckpointInfoStageTimeTaken(@Nullable String value) API name:get_checkpoint_info_stage_time_taken -
getFilesStageTimeTaken
@Nonnull public final SegmentReplicationRecord.Builder getFilesStageTimeTaken(@Nullable String value) API name:get_files_stage_time_taken -
lastCompletedLag
API name:last_completed_lag -
rejectedRequests
API name:rejected_requests -
replicatingStageTimeTaken
@Nonnull public final SegmentReplicationRecord.Builder replicatingStageTimeTaken(@Nullable String value) API name:replicating_stage_time_taken -
shardId
API name:shardId -
stage
API name:stage -
startTime
API name:start_time -
stopTime
API name:stop_time -
targetHost
API name:target_host -
targetNode
API name:target_node -
time
API name:time -
build
Builds aSegmentReplicationRecord.- Specified by:
buildin interfaceObjectBuilder<SegmentReplicationRecord>- Throws:
NullPointerException- if some of the required fields are null.
-