Package com.ibm.cloud.is.vpc.v1.model
Class BackupPolicyPatch.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.BackupPolicyPatch.Builder
-
- Enclosing class:
- BackupPolicyPatch
public static class BackupPolicyPatch.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 BackupPolicyPatch.BuilderaddIncludedContent(String includedContent)Adds a new element to includedContent.BackupPolicyPatch.BuilderaddMatchUserTags(String matchUserTags)Adds a new element to matchUserTags.BackupPolicyPatchbuild()Builds a BackupPolicyPatch.BackupPolicyPatch.BuilderincludedContent(List<String> includedContent)Set the includedContent.BackupPolicyPatch.BuildermatchUserTags(List<String> matchUserTags)Set the matchUserTags.BackupPolicyPatch.Buildername(String name)Set the name.
-
-
-
Method Detail
-
build
public BackupPolicyPatch build()
Builds a BackupPolicyPatch.- Returns:
- the new BackupPolicyPatch instance
-
addIncludedContent
public BackupPolicyPatch.Builder addIncludedContent(String includedContent)
Adds a new element to includedContent.- Parameters:
includedContent- the new element to be added- Returns:
- the BackupPolicyPatch builder
-
addMatchUserTags
public BackupPolicyPatch.Builder addMatchUserTags(String matchUserTags)
Adds a new element to matchUserTags.- Parameters:
matchUserTags- the new element to be added- Returns:
- the BackupPolicyPatch builder
-
includedContent
public BackupPolicyPatch.Builder includedContent(List<String> includedContent)
Set the includedContent. Existing includedContent will be replaced.- Parameters:
includedContent- the includedContent- Returns:
- the BackupPolicyPatch builder
-
matchUserTags
public BackupPolicyPatch.Builder matchUserTags(List<String> matchUserTags)
Set the matchUserTags. Existing matchUserTags will be replaced.- Parameters:
matchUserTags- the matchUserTags- Returns:
- the BackupPolicyPatch builder
-
name
public BackupPolicyPatch.Builder name(String name)
Set the name.- Parameters:
name- the name- Returns:
- the BackupPolicyPatch builder
-
-