Class VolumePatch.Builder

  • Enclosing class:
    VolumePatch

    public static class VolumePatch.Builder
    extends Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
    • 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
      • userTags

        public VolumePatch.Builder userTags​(List<String> userTags)
        Set the userTags. Existing userTags will be replaced.
        Parameters:
        userTags - the userTags
        Returns:
        the VolumePatch builder