Package com.ibm.cloud.is.vpc.v1.model
Class BackupPolicyPlanClonePolicyPatch.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.BackupPolicyPlanClonePolicyPatch.Builder
-
- Enclosing class:
- BackupPolicyPlanClonePolicyPatch
public static class BackupPolicyPlanClonePolicyPatch.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackupPolicyPlanClonePolicyPatch.Builder
addZones(ZoneIdentity zones)
Adds a new element to zones.BackupPolicyPlanClonePolicyPatch
build()
Builds a BackupPolicyPlanClonePolicyPatch.BackupPolicyPlanClonePolicyPatch.Builder
maxSnapshots(long maxSnapshots)
Set the maxSnapshots.BackupPolicyPlanClonePolicyPatch.Builder
zones(List<ZoneIdentity> zones)
Set the zones.
-
-
-
Method Detail
-
build
public BackupPolicyPlanClonePolicyPatch build()
Builds a BackupPolicyPlanClonePolicyPatch.- Returns:
- the new BackupPolicyPlanClonePolicyPatch instance
-
addZones
public BackupPolicyPlanClonePolicyPatch.Builder addZones(ZoneIdentity zones)
Adds a new element to zones.- Parameters:
zones
- the new element to be added- Returns:
- the BackupPolicyPlanClonePolicyPatch builder
-
maxSnapshots
public BackupPolicyPlanClonePolicyPatch.Builder maxSnapshots(long maxSnapshots)
Set the maxSnapshots.- Parameters:
maxSnapshots
- the maxSnapshots- Returns:
- the BackupPolicyPlanClonePolicyPatch builder
-
zones
public BackupPolicyPlanClonePolicyPatch.Builder zones(List<ZoneIdentity> zones)
Set the zones. Existing zones will be replaced.- Parameters:
zones
- the zones- Returns:
- the BackupPolicyPlanClonePolicyPatch builder
-
-