PricingDetail Class
- java.
lang. Object - com.
azure. resourcemanager. quantum. models. PricingDetail
- com.
Implements
public final class PricingDetail
implements JsonSerializable<PricingDetail>
Detailed pricing information for an sku.
Constructor Summary
| Constructor | Description |
|---|---|
| PricingDetail() |
Creates an instance of Pricing |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Pricing |
fromJson(JsonReader jsonReader)
Reads an instance of Pricing |
| String |
id()
Get the id property: Unique id for this pricing information. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| String |
value()
Get the value property: The unit cost of this sku. |
|
Pricing |
withId(String id)
Set the id property: Unique id for this pricing information. |
|
Pricing |
withValue(String value)
Set the value property: The unit cost of this sku. |
Methods inherited from java.lang.Object
Constructor Details
PricingDetail
public PricingDetail()
Creates an instance of PricingDetail class.
Method Details
fromJson
public static PricingDetail fromJson(JsonReader jsonReader)
Reads an instance of PricingDetail from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Unique id for this pricing information.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: The unit cost of this sku.
Returns:
withId
public PricingDetail withId(String id)
Set the id property: Unique id for this pricing information.
Parameters:
Returns:
withValue
public PricingDetail withValue(String value)
Set the value property: The unit cost of this sku.
Parameters:
Returns: