Class EstimatedVMPrices


  • public final class EstimatedVMPrices
    extends Object
    The estimated price info for using a VM.
    • Constructor Detail

      • EstimatedVMPrices

        public EstimatedVMPrices()
    • Method Detail

      • billingCurrency

        public BillingCurrency billingCurrency()
        Get the billingCurrency property: Billing currency Three lettered code specifying the currency of the VM price. Example: USD.
        Returns:
        the billingCurrency value.
      • withBillingCurrency

        public EstimatedVMPrices withBillingCurrency​(BillingCurrency billingCurrency)
        Set the billingCurrency property: Billing currency Three lettered code specifying the currency of the VM price. Example: USD.
        Parameters:
        billingCurrency - the billingCurrency value to set.
        Returns:
        the EstimatedVMPrices object itself.
      • unitOfMeasure

        public UnitOfMeasure unitOfMeasure()
        Get the unitOfMeasure property: Unit of time measure The unit of time measurement for the specified VM price. Example: OneHour.
        Returns:
        the unitOfMeasure value.
      • withUnitOfMeasure

        public EstimatedVMPrices withUnitOfMeasure​(UnitOfMeasure unitOfMeasure)
        Set the unitOfMeasure property: Unit of time measure The unit of time measurement for the specified VM price. Example: OneHour.
        Parameters:
        unitOfMeasure - the unitOfMeasure value to set.
        Returns:
        the EstimatedVMPrices object itself.
      • values

        public List<EstimatedVMPrice> values()
        Get the values property: List of estimated VM prices. The list of estimated prices for using a VM of a particular OS type, tier, etc.
        Returns:
        the values value.
      • withValues

        public EstimatedVMPrices withValues​(List<EstimatedVMPrice> values)
        Set the values property: List of estimated VM prices. The list of estimated prices for using a VM of a particular OS type, tier, etc.
        Parameters:
        values - the values value to set.
        Returns:
        the EstimatedVMPrices object itself.
      • validate

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