Class EstimatedVMPrice
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.EstimatedVMPrice
-
public final class EstimatedVMPrice extends Object
The estimated price info for using a VM of a particular OS type, tier, etc.
-
-
Constructor Summary
Constructors Constructor Description EstimatedVMPrice()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VMPriceOSType
osType()
Get the osType property: OS type Operating system type used by the VM.double
retailPrice()
Get the retailPrice property: Retail price The price charged for using the VM.void
validate()
Validates the instance.VMTier
vmTier()
Get the vmTier property: VM tier The type of the VM.EstimatedVMPrice
withOsType(VMPriceOSType osType)
Set the osType property: OS type Operating system type used by the VM.EstimatedVMPrice
withRetailPrice(double retailPrice)
Set the retailPrice property: Retail price The price charged for using the VM.EstimatedVMPrice
withVmTier(VMTier vmTier)
Set the vmTier property: VM tier The type of the VM.
-
-
-
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.
-
-