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 Details

    • Builder

      public Builder()
      Instantiates a new builder.
  • Method Details

    • 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