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