Class IotHubSkuDescriptionInner
- java.lang.Object
-
- com.azure.resourcemanager.iothub.fluent.models.IotHubSkuDescriptionInner
-
public final class IotHubSkuDescriptionInner extends Object
SKU properties.
-
-
Constructor Summary
Constructors Constructor Description IotHubSkuDescriptionInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IotHubCapacity
capacity()
Get the capacity property: IotHub capacity.String
resourceType()
Get the resourceType property: The type of the resource.IotHubSkuInfo
sku()
Get the sku property: The type of the resource.void
validate()
Validates the instance.IotHubSkuDescriptionInner
withCapacity(IotHubCapacity capacity)
Set the capacity property: IotHub capacity.IotHubSkuDescriptionInner
withSku(IotHubSkuInfo sku)
Set the sku property: The type of the resource.
-
-
-
Method Detail
-
resourceType
public String resourceType()
Get the resourceType property: The type of the resource.- Returns:
- the resourceType value.
-
sku
public IotHubSkuInfo sku()
Get the sku property: The type of the resource.- Returns:
- the sku value.
-
withSku
public IotHubSkuDescriptionInner withSku(IotHubSkuInfo sku)
Set the sku property: The type of the resource.- Parameters:
sku
- the sku value to set.- Returns:
- the IotHubSkuDescriptionInner object itself.
-
capacity
public IotHubCapacity capacity()
Get the capacity property: IotHub capacity.- Returns:
- the capacity value.
-
withCapacity
public IotHubSkuDescriptionInner withCapacity(IotHubCapacity capacity)
Set the capacity property: IotHub capacity.- Parameters:
capacity
- the capacity value to set.- Returns:
- the IotHubSkuDescriptionInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-