Package com.ibm.cloud.is.vpc.v1.model
Class CreateShareSnapshotOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.CreateShareSnapshotOptions.Builder
-
- Enclosing class:
- CreateShareSnapshotOptions
public static class CreateShareSnapshotOptions.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateShareSnapshotOptions.Builder
addUserTags(String userTags)
Adds a new element to userTags.CreateShareSnapshotOptions
build()
Builds a CreateShareSnapshotOptions.CreateShareSnapshotOptions.Builder
name(String name)
Set the name.CreateShareSnapshotOptions.Builder
shareId(String shareId)
Set the shareId.CreateShareSnapshotOptions.Builder
userTags(List<String> userTags)
Set the userTags.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(String shareId)
Instantiates a new builder with required properties.- Parameters:
shareId
- the shareId
-
-
Method Detail
-
build
public CreateShareSnapshotOptions build()
Builds a CreateShareSnapshotOptions.- Returns:
- the new CreateShareSnapshotOptions instance
-
addUserTags
public CreateShareSnapshotOptions.Builder addUserTags(String userTags)
Adds a new element to userTags.- Parameters:
userTags
- the new element to be added- Returns:
- the CreateShareSnapshotOptions builder
-
shareId
public CreateShareSnapshotOptions.Builder shareId(String shareId)
Set the shareId.- Parameters:
shareId
- the shareId- Returns:
- the CreateShareSnapshotOptions builder
-
name
public CreateShareSnapshotOptions.Builder name(String name)
Set the name.- Parameters:
name
- the name- Returns:
- the CreateShareSnapshotOptions builder
-
userTags
public CreateShareSnapshotOptions.Builder userTags(List<String> userTags)
Set the userTags. Existing userTags will be replaced.- Parameters:
userTags
- the userTags- Returns:
- the CreateShareSnapshotOptions builder
-
-