AzurePlan Class
- java.
lang. Object - com.
azure. resourcemanager. billing. models. AzurePlan
- com.
Implements
public final class AzurePlan
implements JsonSerializable<AzurePlan>
Details of the Azure plan.
Constructor Summary
| Constructor | Description |
|---|---|
| AzurePlan() |
Creates an instance of Azure |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Azure |
fromJson(JsonReader jsonReader)
Reads an instance of Azure |
| String |
productId()
Get the product |
| String |
skuDescription()
Get the sku |
| String |
skuId()
Get the sku |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Azure |
withProductId(String productId)
Set the product |
|
Azure |
withSkuDescription(String skuDescription)
Set the sku |
|
Azure |
withSkuId(String skuId)
Set the sku |
Methods inherited from java.lang.Object
Constructor Details
AzurePlan
public AzurePlan()
Creates an instance of AzurePlan class.
Method Details
fromJson
public static AzurePlan fromJson(JsonReader jsonReader)
Reads an instance of AzurePlan from the JsonReader.
Parameters:
Returns:
Throws:
productId
public String productId()
Get the productId property: The ID that uniquely identifies a product.
Returns:
skuDescription
public String skuDescription()
Get the skuDescription property: The sku description.
Returns:
skuId
public String skuId()
Get the skuId property: The ID that uniquely identifies a sku.
Returns:
toJson
validate
public void validate()
Validates the instance.
withProductId
public AzurePlan withProductId(String productId)
Set the productId property: The ID that uniquely identifies a product.
Parameters:
Returns:
withSkuDescription
public AzurePlan withSkuDescription(String skuDescription)
Set the skuDescription property: The sku description.
Parameters:
Returns:
withSkuId
public AzurePlan withSkuId(String skuId)
Set the skuId property: The ID that uniquely identifies a sku.
Parameters:
Returns: