Class EstimatedVMPrice


  • public final class EstimatedVMPrice
    extends Object
    The estimated price info for using a VM of a particular OS type, tier, etc.
    • Constructor Detail

      • EstimatedVMPrice

        public EstimatedVMPrice()
    • Method Detail

      • retailPrice

        public double retailPrice()
        Get the retailPrice property: Retail price The price charged for using the VM.
        Returns:
        the retailPrice value.
      • withRetailPrice

        public EstimatedVMPrice withRetailPrice​(double retailPrice)
        Set the retailPrice property: Retail price The price charged for using the VM.
        Parameters:
        retailPrice - the retailPrice value to set.
        Returns:
        the EstimatedVMPrice object itself.
      • osType

        public VMPriceOSType osType()
        Get the osType property: OS type Operating system type used by the VM.
        Returns:
        the osType value.
      • withOsType

        public EstimatedVMPrice withOsType​(VMPriceOSType osType)
        Set the osType property: OS type Operating system type used by the VM.
        Parameters:
        osType - the osType value to set.
        Returns:
        the EstimatedVMPrice object itself.
      • vmTier

        public VMTier vmTier()
        Get the vmTier property: VM tier The type of the VM.
        Returns:
        the vmTier value.
      • withVmTier

        public EstimatedVMPrice withVmTier​(VMTier vmTier)
        Set the vmTier property: VM tier The type of the VM.
        Parameters:
        vmTier - the vmTier value to set.
        Returns:
        the EstimatedVMPrice object itself.
      • validate

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