Class UpdateVolumeDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • definedTags

        public UpdateVolumeDetails.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

        Example: {"Operations": {"CostCenter": "42"}}

        Parameters:
        definedTags - the value to set
        Returns:
        this builder
      • displayName

        public UpdateVolumeDetails.Builder displayName​(String displayName)
        A user-friendly name.

        Does not have to be unique, and it’s changeable. Avoid entering confidential information.

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • freeformTags

        public UpdateVolumeDetails.Builder freeformTags​(Map<String,​String> freeformTags)
        Free-form tags for this resource.

        Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

        Example: {"Department": "Finance"}

        Parameters:
        freeformTags - the value to set
        Returns:
        this builder
      • vpusPerGB

        public UpdateVolumeDetails.Builder vpusPerGB​(Long vpusPerGB)
        The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service’s elastic performance options.

        See Block Volume Performance Levels for more information.

        Allowed values:

        0: Represents Lower Cost option.

        10: Represents Balanced option.

        20: Represents Higher Performance option.

        30-120: Represents the Ultra High Performance option.

        For performance autotune enabled volumes, it would be the Default(Minimum) VPUs/GB.

        Parameters:
        vpusPerGB - the value to set
        Returns:
        this builder
      • sizeInGBs

        public UpdateVolumeDetails.Builder sizeInGBs​(Long sizeInGBs)
        The size to resize the volume to in GBs.

        Has to be larger than the current size.

        Parameters:
        sizeInGBs - the value to set
        Returns:
        this builder
      • isAutoTuneEnabled

        public UpdateVolumeDetails.Builder isAutoTuneEnabled​(Boolean isAutoTuneEnabled)
        Specifies whether the auto-tune performance is enabled for this volume.

        This field is deprecated. Use the DetachedVolumeAutotunePolicy instead to enable the volume for detached autotune.

        Parameters:
        isAutoTuneEnabled - the value to set
        Returns:
        this builder
      • blockVolumeReplicas

        public UpdateVolumeDetails.Builder blockVolumeReplicas​(List<BlockVolumeReplicaDetails> blockVolumeReplicas)
        The list of block volume replicas that this volume will be updated to have in the specified destination availability domains.
        Parameters:
        blockVolumeReplicas - the value to set
        Returns:
        this builder
      • autotunePolicies

        public UpdateVolumeDetails.Builder autotunePolicies​(List<AutotunePolicy> autotunePolicies)
        The list of autotune policies enabled for this volume.
        Parameters:
        autotunePolicies - the value to set
        Returns:
        this builder
      • isReservationsEnabled

        public UpdateVolumeDetails.Builder isReservationsEnabled​(Boolean isReservationsEnabled)
        When set to true, enables SCSI Persistent Reservation (SCSI PR) for the volume.

        For more information, see Persistent Reservations.

        Parameters:
        isReservationsEnabled - the value to set
        Returns:
        this builder