Package com.ibm.cloud.is.vpc.v1.model
Class ShareSnapshotPatch.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.ShareSnapshotPatch.Builder
-
- Enclosing class:
- ShareSnapshotPatch
public static class ShareSnapshotPatch.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 ShareSnapshotPatch.Builder
addUserTags(String userTags)
Adds a new element to userTags.ShareSnapshotPatch
build()
Builds a ShareSnapshotPatch.ShareSnapshotPatch.Builder
userTags(List<String> userTags)
Set the userTags.
-
-
-
Method Detail
-
build
public ShareSnapshotPatch build()
Builds a ShareSnapshotPatch.- Returns:
- the new ShareSnapshotPatch instance
-
addUserTags
public ShareSnapshotPatch.Builder addUserTags(String userTags)
Adds a new element to userTags.- Parameters:
userTags
- the new element to be added- Returns:
- the ShareSnapshotPatch builder
-
userTags
public ShareSnapshotPatch.Builder userTags(List<String> userTags)
Set the userTags. Existing userTags will be replaced.- Parameters:
userTags
- the userTags- Returns:
- the ShareSnapshotPatch builder
-
-