Class SegmentReplicationStats.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.SegmentReplicationStats.Builder
- All Implemented Interfaces:
CopyableBuilder<SegmentReplicationStats.Builder,,SegmentReplicationStats> MutableBuilder<SegmentReplicationStats.Builder,,SegmentReplicationStats> ObjectBuilder<SegmentReplicationStats>
- Enclosing class:
SegmentReplicationStats
public static class SegmentReplicationStats.Builder
extends ObjectBuilderBase
implements CopyableBuilder<SegmentReplicationStats.Builder,SegmentReplicationStats>
Builder for
SegmentReplicationStats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aSegmentReplicationStats.copy()Create a new builderCopyableBuilderthat is a copy of this one.maxBytesBehind(JsonData value) Required - API name:max_bytes_behindmaxReplicationLag(JsonData value) Required - API name:max_replication_lagtotalBytesBehind(JsonData value) Required - API name:total_bytes_behindMethods 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<SegmentReplicationStats.Builder,SegmentReplicationStats> - Returns:
- a new builder instance.
-
maxBytesBehind
Required - API name:max_bytes_behind -
maxReplicationLag
Required - API name:max_replication_lag -
totalBytesBehind
Required - API name:total_bytes_behind -
build
Builds aSegmentReplicationStats.- Specified by:
buildin interfaceObjectBuilder<SegmentReplicationStats>- Throws:
NullPointerException- if some of the required fields are null.
-