Class VolumePrototypeInstanceByImageContext.Builder
java.lang.Object
com.ibm.cloud.is.vpc.v1.model.VolumePrototypeInstanceByImageContext.Builder
-
Constructor Summary
ConstructorsConstructorDescriptionBuilder()
Instantiates a new builder.Builder
(VolumeProfileIdentity profile) Instantiates a new builder with required properties. -
Method Summary
Modifier and TypeMethodDescriptionaddUserTags
(String userTags) Adds a new element to userTags.build()
Builds a VolumePrototypeInstanceByImageContext.capacity
(long capacity) Set the capacity.encryptionKey
(EncryptionKeyIdentity encryptionKey) Set the encryptionKey.iops
(long iops) Set the iops.Set the name.profile
(VolumeProfileIdentity profile) Set the profile.resourceGroup
(ResourceGroupIdentity resourceGroup) Set the resourceGroup.Set the userTags.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
profile
- the profile
-
-
Method Details
-
build
Builds a VolumePrototypeInstanceByImageContext.- Returns:
- the new VolumePrototypeInstanceByImageContext instance
-
addUserTags
Adds a new element to userTags.- Parameters:
userTags
- the new element to be added- Returns:
- the VolumePrototypeInstanceByImageContext builder
-
capacity
Set the capacity.- Parameters:
capacity
- the capacity- Returns:
- the VolumePrototypeInstanceByImageContext builder
-
encryptionKey
public VolumePrototypeInstanceByImageContext.Builder encryptionKey(EncryptionKeyIdentity encryptionKey) Set the encryptionKey.- Parameters:
encryptionKey
- the encryptionKey- Returns:
- the VolumePrototypeInstanceByImageContext builder
-
iops
Set the iops.- Parameters:
iops
- the iops- Returns:
- the VolumePrototypeInstanceByImageContext builder
-
name
Set the name.- Parameters:
name
- the name- Returns:
- the VolumePrototypeInstanceByImageContext builder
-
profile
Set the profile.- Parameters:
profile
- the profile- Returns:
- the VolumePrototypeInstanceByImageContext builder
-
resourceGroup
public VolumePrototypeInstanceByImageContext.Builder resourceGroup(ResourceGroupIdentity resourceGroup) Set the resourceGroup.- Parameters:
resourceGroup
- the resourceGroup- Returns:
- the VolumePrototypeInstanceByImageContext builder
-
userTags
Set the userTags. Existing userTags will be replaced.- Parameters:
userTags
- the userTags- Returns:
- the VolumePrototypeInstanceByImageContext builder
-