Package com.ibm.cloud.is.vpc.v1.model
Class BackupPolicyPlanPatch.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.BackupPolicyPlanPatch.Builder
-
- Enclosing class:
- BackupPolicyPlanPatch
public static class BackupPolicyPlanPatch.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.
-
Method Summary
-
-
-
Method Detail
-
build
public BackupPolicyPlanPatch build()
Builds a BackupPolicyPlanPatch.- Returns:
- the new BackupPolicyPlanPatch instance
-
addAttachUserTags
public BackupPolicyPlanPatch.Builder addAttachUserTags(String attachUserTags)
Adds a new element to attachUserTags.- Parameters:
attachUserTags
- the new element to be added- Returns:
- the BackupPolicyPlanPatch builder
-
addRemoteRegionPolicies
public BackupPolicyPlanPatch.Builder addRemoteRegionPolicies(BackupPolicyPlanRemoteRegionPolicyPrototype remoteRegionPolicies)
Adds a new element to remoteRegionPolicies.- Parameters:
remoteRegionPolicies
- the new element to be added- Returns:
- the BackupPolicyPlanPatch builder
-
active
public BackupPolicyPlanPatch.Builder active(Boolean active)
Set the active.- Parameters:
active
- the active- Returns:
- the BackupPolicyPlanPatch builder
-
attachUserTags
public BackupPolicyPlanPatch.Builder attachUserTags(List<String> attachUserTags)
Set the attachUserTags. Existing attachUserTags will be replaced.- Parameters:
attachUserTags
- the attachUserTags- Returns:
- the BackupPolicyPlanPatch builder
-
clonePolicy
public BackupPolicyPlanPatch.Builder clonePolicy(BackupPolicyPlanClonePolicyPatch clonePolicy)
Set the clonePolicy.- Parameters:
clonePolicy
- the clonePolicy- Returns:
- the BackupPolicyPlanPatch builder
-
copyUserTags
public BackupPolicyPlanPatch.Builder copyUserTags(Boolean copyUserTags)
Set the copyUserTags.- Parameters:
copyUserTags
- the copyUserTags- Returns:
- the BackupPolicyPlanPatch builder
-
cronSpec
public BackupPolicyPlanPatch.Builder cronSpec(String cronSpec)
Set the cronSpec.- Parameters:
cronSpec
- the cronSpec- Returns:
- the BackupPolicyPlanPatch builder
-
deletionTrigger
public BackupPolicyPlanPatch.Builder deletionTrigger(BackupPolicyPlanDeletionTriggerPatch deletionTrigger)
Set the deletionTrigger.- Parameters:
deletionTrigger
- the deletionTrigger- Returns:
- the BackupPolicyPlanPatch builder
-
name
public BackupPolicyPlanPatch.Builder name(String name)
Set the name.- Parameters:
name
- the name- Returns:
- the BackupPolicyPlanPatch builder
-
remoteRegionPolicies
public BackupPolicyPlanPatch.Builder remoteRegionPolicies(List<BackupPolicyPlanRemoteRegionPolicyPrototype> remoteRegionPolicies)
Set the remoteRegionPolicies. Existing remoteRegionPolicies will be replaced.- Parameters:
remoteRegionPolicies
- the remoteRegionPolicies- Returns:
- the BackupPolicyPlanPatch builder
-
-