Class SnapshotShardsStats.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.snapshot.SnapshotShardsStats.Builder
- All Implemented Interfaces:
CopyableBuilder<SnapshotShardsStats.Builder,,SnapshotShardsStats> MutableBuilder<SnapshotShardsStats.Builder,,SnapshotShardsStats> ObjectBuilder<SnapshotShardsStats>
- Enclosing class:
SnapshotShardsStats
public static class SnapshotShardsStats.Builder
extends ObjectBuilderBase
implements CopyableBuilder<SnapshotShardsStats.Builder,SnapshotShardsStats>
Builder for
SnapshotShardsStats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aSnapshotShardsStats.copy()Create a new builderCopyableBuilderthat is a copy of this one.The number of completed shard snapshots.The number of failed shard snapshots.finalizing(Long value) The number of finalizing shard snapshots.initializing(Long value) The number of initializing shard snapshots.The number of started shard snapshots.The total number of shard snapshots.Methods 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<SnapshotShardsStats.Builder,SnapshotShardsStats> - Returns:
- a new builder instance.
-
done
The number of completed shard snapshots.API name:
done -
failed
The number of failed shard snapshots.API name:
failed -
finalizing
The number of finalizing shard snapshots.API name:
finalizing -
initializing
The number of initializing shard snapshots.API name:
initializing -
started
The number of started shard snapshots.API name:
started -
total
The total number of shard snapshots.API name:
total -
build
Builds aSnapshotShardsStats.- Specified by:
buildin interfaceObjectBuilder<SnapshotShardsStats>- Throws:
NullPointerException- if some of the required fields are null.
-