Class SegmentReplicationRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.cat.CatRequestBase
org.opensearch.client.opensearch.cat.SegmentReplicationRequest
- All Implemented Interfaces:
ToCopyableBuilder<SegmentReplicationRequest.Builder,SegmentReplicationRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class SegmentReplicationRequest
extends CatRequestBase
implements ToCopyableBuilder<SegmentReplicationRequest.Builder,SegmentReplicationRequest>
Returns information about active and last-completed segment replication events on each replica shard, including related shard-level
metrics. These metrics provide information about how far behind the primary shard the replicas are lagging.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch.cat.CatRequestBase
CatRequestBase.AbstractBuilder<BuilderT extends CatRequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionEndpoint "cat.segment_replication". -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanWhentrue, the response only includes ongoing segment replication events.final BooleanWhether to ignore the index if a wildcard index expression resolves to no concrete indexes.protected voidapplyQueryParameters(Map<String, String> params) builder()final Bytesbytes()The units used to display byte values.final BooleanWhentrue, the response only includes the last-completed segment replication events.final Booleandetailed()Whentrue, the response includes additional metrics for each stage of a segment replication event.booleanfinal List<ExpandWildcard> Specifies the type of index that wildcard expressions can match.inthashCode()final BooleanWhether specified concrete, expanded, or aliased indexes should be ignored when throttled.final BooleanWhether the specified concrete indexes should be ignored when missing or closed.index()A comma-separated list of data streams, indexes, and aliases used to limit the request.static SegmentReplicationRequestshards()A comma-separated list of shards to display.final TimeUnittime()Specifies the time units, for example,5dor7h.final Timetimeout()The operation timeout.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch.cat.CatRequestBase
headers, sortMethods inherited from class org.opensearch.client.opensearch._types.RequestBase
errorTrace, humanMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_ENDPOINT
public static final Endpoint<SegmentReplicationRequest,SegmentReplicationResponse, _ENDPOINTErrorResponse> Endpoint "cat.segment_replication".
-
-
Method Details
-
of
public static SegmentReplicationRequest of(Function<SegmentReplicationRequest.Builder, ObjectBuilder<SegmentReplicationRequest>> fn) -
activeOnly
Whentrue, the response only includes ongoing segment replication events.API name:
active_only -
allowNoIndices
Whether to ignore the index if a wildcard index expression resolves to no concrete indexes. This includes the_allstring or when no indexes have been specified.API name:
allow_no_indices -
bytes
The units used to display byte values.API name:
bytes -
completedOnly
Whentrue, the response only includes the last-completed segment replication events.API name:
completed_only -
detailed
Whentrue, the response includes additional metrics for each stage of a segment replication event.API name:
detailed -
expandWildcards
Specifies the type of index that wildcard expressions can match. Supports comma-separated values.API name:
expand_wildcards -
ignoreThrottled
Whether specified concrete, expanded, or aliased indexes should be ignored when throttled.API name:
ignore_throttled -
index
A comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (*). To target all data streams and indexes, omit this parameter or use*or_all.API name:
index -
shards
A comma-separated list of shards to display.API name:
shards -
time
Specifies the time units, for example,5dor7h. For more information, see Supported units.API name:
time -
timeout
The operation timeout.API name:
timeout -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<SegmentReplicationRequest.Builder,SegmentReplicationRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classCatRequestBase
-
hashCode
public int hashCode() -
equals
-