Class CreateShareSnapshotOptions.Builder
java.lang.Object
com.ibm.cloud.is.vpc.v1.model.CreateShareSnapshotOptions.Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddUserTags
(String userTags) Adds a new element to userTags.build()
Builds a CreateShareSnapshotOptions.Set the name.Set the shareId.Set the userTags.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
shareId
- the shareId
-
-
Method Details
-
build
Builds a CreateShareSnapshotOptions.- Returns:
- the new CreateShareSnapshotOptions instance
-
addUserTags
Adds a new element to userTags.- Parameters:
userTags
- the new element to be added- Returns:
- the CreateShareSnapshotOptions builder
-
name
Set the name.- Parameters:
name
- the name- Returns:
- the CreateShareSnapshotOptions builder
-
userTags
Set the userTags. Existing userTags will be replaced.- Parameters:
userTags
- the userTags- Returns:
- the CreateShareSnapshotOptions builder
-