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