Class BackupPolicyPatch.Builder
java.lang.Object
com.ibm.cloud.is.vpc.v1.model.BackupPolicyPatch.Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddIncludedContent
(String includedContent) Adds a new element to includedContent.addMatchUserTags
(String matchUserTags) Adds a new element to matchUserTags.build()
Builds a BackupPolicyPatch.includedContent
(List<String> includedContent) Set the includedContent.matchUserTags
(List<String> matchUserTags) Set the matchUserTags.Set the name.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a BackupPolicyPatch.- Returns:
- the new BackupPolicyPatch instance
-
addIncludedContent
Adds a new element to includedContent.- Parameters:
includedContent
- the new element to be added- Returns:
- the BackupPolicyPatch builder
-
addMatchUserTags
Adds a new element to matchUserTags.- Parameters:
matchUserTags
- the new element to be added- Returns:
- the BackupPolicyPatch builder
-
includedContent
Set the includedContent. Existing includedContent will be replaced.- Parameters:
includedContent
- the includedContent- Returns:
- the BackupPolicyPatch builder
-
matchUserTags
Set the matchUserTags. Existing matchUserTags will be replaced.- Parameters:
matchUserTags
- the matchUserTags- Returns:
- the BackupPolicyPatch builder
-
name
Set the name.- Parameters:
name
- the name- Returns:
- the BackupPolicyPatch builder
-