PricingDimension Class
- java.
lang. Object - com.
azure. resourcemanager. quantum. models. PricingDimension
- com.
Implements
public final class PricingDimension
implements JsonSerializable<PricingDimension>
Information about pricing dimension.
Constructor Summary
| Constructor | Description |
|---|---|
| PricingDimension() |
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 of this pricing dimension. |
| String |
name()
Get the name property: The display name of this pricing dimension. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Pricing |
withId(String id)
Set the id property: Unique id of this pricing dimension. |
|
Pricing |
withName(String name)
Set the name property: The display name of this pricing dimension. |
Methods inherited from java.lang.Object
Constructor Details
PricingDimension
public PricingDimension()
Creates an instance of PricingDimension class.
Method Details
fromJson
public static PricingDimension fromJson(JsonReader jsonReader)
Reads an instance of PricingDimension from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Unique id of this pricing dimension.
Returns:
name
public String name()
Get the name property: The display name of this pricing dimension.
Returns:
toJson
validate
public void validate()
Validates the instance.
withId
public PricingDimension withId(String id)
Set the id property: Unique id of this pricing dimension.
Parameters:
Returns:
withName
public PricingDimension withName(String name)
Set the name property: The display name of this pricing dimension.
Parameters:
Returns: