IotDpsSkuInfo Class
- java.
lang. Object - com.
azure. resourcemanager. deviceprovisioningservices. models. IotDpsSkuInfo
- com.
Implements
public final class IotDpsSkuInfo
implements JsonSerializable<IotDpsSkuInfo>
List of possible provisioning service SKUs.
Constructor Summary
| Constructor | Description |
|---|---|
| IotDpsSkuInfo() |
Creates an instance of Iot |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Long |
capacity()
Get the capacity property: The number of units to provision. |
|
static
Iot |
fromJson(JsonReader jsonReader)
Reads an instance of Iot |
|
Iot |
name()
Get the name property: Sku name. |
| String |
tier()
Get the tier property: Pricing tier name of the provisioning service. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Iot |
withCapacity(Long capacity)
Set the capacity property: The number of units to provision. |
|
Iot |
withName(IotDpsSku name)
Set the name property: Sku name. |
Methods inherited from java.lang.Object
Constructor Details
IotDpsSkuInfo
public IotDpsSkuInfo()
Creates an instance of IotDpsSkuInfo class.
Method Details
capacity
public Long capacity()
Get the capacity property: The number of units to provision.
Returns:
fromJson
public static IotDpsSkuInfo fromJson(JsonReader jsonReader)
Reads an instance of IotDpsSkuInfo from the JsonReader.
Parameters:
Returns:
Throws:
name
public IotDpsSku name()
Get the name property: Sku name.
Returns:
tier
public String tier()
Get the tier property: Pricing tier name of the provisioning service.
Returns:
toJson
withCapacity
public IotDpsSkuInfo withCapacity(Long capacity)
Set the capacity property: The number of units to provision.
Parameters:
Returns:
withName
public IotDpsSkuInfo withName(IotDpsSku name)
Set the name property: Sku name.
Parameters:
Returns: