Class ClusterStateDeletedSnapshots.Builder
java.lang.Object
org.opensearch.client.opensearch.cluster.ClusterStateDeletedSnapshots.Builder
- All Implemented Interfaces:
ObjectBuilder<ClusterStateDeletedSnapshots>
- Enclosing class:
- ClusterStateDeletedSnapshots
public static class ClusterStateDeletedSnapshots.Builder extends java.lang.Object implements ObjectBuilder<ClusterStateDeletedSnapshots>
Builder for
ClusterStateDeletedSnapshots.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.client.util.ObjectBuilder
ObjectBuilder.Constant<V> -
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ClusterStateDeletedSnapshots.BuilderaddSnapshotDeletions(java.lang.String value)Add a value tosnapshotDeletions(List), creating the list if needed.ClusterStateDeletedSnapshotsbuild()Builds aClusterStateDeletedSnapshots.ClusterStateDeletedSnapshots.BuildersnapshotDeletions(java.lang.String... value)API name:snapshot_deletionsClusterStateDeletedSnapshots.BuildersnapshotDeletions(java.util.List<java.lang.String> value)API name:snapshot_deletions
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
snapshotDeletions
public ClusterStateDeletedSnapshots.Builder snapshotDeletions(java.util.List<java.lang.String> value)API name:snapshot_deletions -
snapshotDeletions
API name:snapshot_deletions -
addSnapshotDeletions
Add a value tosnapshotDeletions(List), creating the list if needed. -
build
Builds aClusterStateDeletedSnapshots.- Specified by:
buildin interfaceObjectBuilder<ClusterStateDeletedSnapshots>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-