Class StorageQoSPolicy


  • public final class StorageQoSPolicy
    extends Object
    The StorageQoSPolicy definition.
    • Constructor Detail

      • StorageQoSPolicy

        public StorageQoSPolicy()
    • Method Detail

      • name

        public String name()
        Get the name property: The name of the policy.
        Returns:
        the name value.
      • withName

        public StorageQoSPolicy withName​(String name)
        Set the name property: The name of the policy.
        Parameters:
        name - the name value to set.
        Returns:
        the StorageQoSPolicy object itself.
      • id

        public String id()
        Get the id property: The ID of the QoS policy.
        Returns:
        the id value.
      • withId

        public StorageQoSPolicy withId​(String id)
        Set the id property: The ID of the QoS policy.
        Parameters:
        id - the id value to set.
        Returns:
        the StorageQoSPolicy object itself.
      • iopsMaximum

        public Long iopsMaximum()
        Get the iopsMaximum property: The maximum IO operations per second.
        Returns:
        the iopsMaximum value.
      • withIopsMaximum

        public StorageQoSPolicy withIopsMaximum​(Long iopsMaximum)
        Set the iopsMaximum property: The maximum IO operations per second.
        Parameters:
        iopsMaximum - the iopsMaximum value to set.
        Returns:
        the StorageQoSPolicy object itself.
      • iopsMinimum

        public Long iopsMinimum()
        Get the iopsMinimum property: The minimum IO operations per second.
        Returns:
        the iopsMinimum value.
      • withIopsMinimum

        public StorageQoSPolicy withIopsMinimum​(Long iopsMinimum)
        Set the iopsMinimum property: The minimum IO operations per second.
        Parameters:
        iopsMinimum - the iopsMinimum value to set.
        Returns:
        the StorageQoSPolicy object itself.
      • bandwidthLimit

        public Long bandwidthLimit()
        Get the bandwidthLimit property: The Bandwidth Limit for internet traffic.
        Returns:
        the bandwidthLimit value.
      • withBandwidthLimit

        public StorageQoSPolicy withBandwidthLimit​(Long bandwidthLimit)
        Set the bandwidthLimit property: The Bandwidth Limit for internet traffic.
        Parameters:
        bandwidthLimit - the bandwidthLimit value to set.
        Returns:
        the StorageQoSPolicy object itself.
      • policyId

        public String policyId()
        Get the policyId property: The underlying policy.
        Returns:
        the policyId value.
      • withPolicyId

        public StorageQoSPolicy withPolicyId​(String policyId)
        Set the policyId property: The underlying policy.
        Parameters:
        policyId - the policyId value to set.
        Returns:
        the StorageQoSPolicy object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.