Class IotHubSkuInfo


  • public final class IotHubSkuInfo
    extends Object
    Information about the SKU of the IoT hub.
    • Constructor Detail

      • IotHubSkuInfo

        public IotHubSkuInfo()
    • 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.