Class CapacityThreshold.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of CapacityThreshold.
    • Method Detail

      • setMaxThresholdPercentage

        public CapacityThreshold.Builder setMaxThresholdPercentage​(java.lang.Double maxThresholdPercentage)
        Set the maximum threshold percentage. Specify a value between 0 and 100. Usage percentage above this value is tagged as critical.
        Parameters:
        maxThresholdPercentage - New value for the property.
      • setMinThresholdPercentage

        public CapacityThreshold.Builder setMinThresholdPercentage​(java.lang.Double minThresholdPercentage)
        Set the minimum threshold percentage. Specify a value between 0 and 100. Usage percentage above this value is tagged as warning.
        Parameters:
        minThresholdPercentage - New value for the property.
      • setThresholdType

        public CapacityThreshold.Builder setThresholdType​(java.lang.String thresholdType)
        Indicate the object type for which threshold is to be set.
        Parameters:
        thresholdType - New value for the property.