Class BackupPolicyPlanClonePolicyPatch.Builder
java.lang.Object
com.ibm.cloud.is.vpc.v1.model.BackupPolicyPlanClonePolicyPatch.Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddZones
(ZoneIdentity zones) Adds a new element to zones.build()
Builds a BackupPolicyPlanClonePolicyPatch.maxSnapshots
(long maxSnapshots) Set the maxSnapshots.zones
(List<ZoneIdentity> zones) Set the zones.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a BackupPolicyPlanClonePolicyPatch.- Returns:
- the new BackupPolicyPlanClonePolicyPatch instance
-
addZones
Adds a new element to zones.- Parameters:
zones
- the new element to be added- Returns:
- the BackupPolicyPlanClonePolicyPatch builder
-
maxSnapshots
Set the maxSnapshots.- Parameters:
maxSnapshots
- the maxSnapshots- Returns:
- the BackupPolicyPlanClonePolicyPatch builder
-
zones
Set the zones. Existing zones will be replaced.- Parameters:
zones
- the zones- Returns:
- the BackupPolicyPlanClonePolicyPatch builder
-