Class IotHubSkuInfo
- java.lang.Object
-
- com.azure.resourcemanager.iothub.models.IotHubSkuInfo
-
public final class IotHubSkuInfo extends Object
Information about the SKU of the IoT hub.
-
-
Constructor Summary
Constructors Constructor Description IotHubSkuInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
capacity()
Get the capacity property: The number of provisioned IoT Hub units.IotHubSku
name()
Get the name property: The name of the SKU.IotHubSkuTier
tier()
Get the tier property: The billing tier for the IoT hub.void
validate()
Validates the instance.IotHubSkuInfo
withCapacity(Long capacity)
Set the capacity property: The number of provisioned IoT Hub units.IotHubSkuInfo
withName(IotHubSku name)
Set the name property: The name of the SKU.
-
-
-
Method Detail
-
name
public IotHubSku name()
Get the name property: The name of the SKU.- Returns:
- the name value.
-
withName
public IotHubSkuInfo withName(IotHubSku name)
Set the name property: The name of the SKU.- Parameters:
name
- the name value to set.- Returns:
- the IotHubSkuInfo object itself.
-
tier
public IotHubSkuTier tier()
Get the tier property: The billing tier for the IoT hub.- Returns:
- the tier value.
-
capacity
public Long capacity()
Get the capacity property: The number of provisioned IoT Hub units. See: https://docs.microsoft.com/azure/azure-subscription-service-limits#iot-hub-limits.- Returns:
- the capacity value.
-
withCapacity
public IotHubSkuInfo withCapacity(Long capacity)
Set the capacity property: The number of provisioned IoT Hub units. See: https://docs.microsoft.com/azure/azure-subscription-service-limits#iot-hub-limits.- Parameters:
capacity
- the capacity value to set.- Returns:
- the IotHubSkuInfo object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-