public final class Sku extends Object
| Constructor and Description |
|---|
Sku() |
| Modifier and Type | Method and Description |
|---|---|
String |
name()
Get the name property: The name of the sku, typically, tier + family + cores, e.g.
|
SkuTier |
tier()
Get the tier property: The tier of the particular SKU, e.g.
|
void |
validate()
Validates the instance.
|
Sku |
withName(String name)
Set the name property: The name of the sku, typically, tier + family + cores, e.g.
|
Sku |
withTier(SkuTier tier)
Set the tier property: The tier of the particular SKU, e.g.
|
public String name()
public Sku withName(String name)
name - the name value to set.public SkuTier tier()
public Sku withTier(SkuTier tier)
tier - the tier value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.