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