public static final class ProtectionGroupUpdateSpec.Builder
extends java.lang.Object
ProtectionGroupUpdateSpec
.Constructor and Description |
---|
Builder()
Constructor with parameters for the required properties of
ProtectionGroupUpdateSpec . |
Modifier and Type | Method and Description |
---|---|
ProtectionGroupUpdateSpec |
build() |
ProtectionGroupUpdateSpec.Builder |
setName(java.lang.String name)
Name of the protection group.
|
ProtectionGroupUpdateSpec.Builder |
setSnapshotPolicies(java.util.List<SnapshotPolicy> snapshotPolicies)
Snapshot policy for the protection targets.
|
ProtectionGroupUpdateSpec.Builder |
setTargetEntities(TargetEntities targetEntities)
Target entities for the protection.
|
public Builder()
ProtectionGroupUpdateSpec
.public ProtectionGroupUpdateSpec.Builder setName(java.lang.String name)
null
, the current proteciton group name will be retained.name
- New value for the property.public ProtectionGroupUpdateSpec.Builder setTargetEntities(TargetEntities targetEntities)
Set
, this will
represent all the target entities for the protection group.
if null
, the existing target entities will be retained.targetEntities
- New value for the property.public ProtectionGroupUpdateSpec.Builder setSnapshotPolicies(java.util.List<SnapshotPolicy> snapshotPolicies)
Set
, this will
represent all the snapshot policies for the protection group. Any existing
policies will be removed, if not specified in the new list.
if null
, existing snapshot policies will be retained.snapshotPolicies
- New value for the property.public ProtectionGroupUpdateSpec build()