public final class Sku extends Object
| Constructor and Description |
|---|
Sku() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
capacity()
Get the capacity property: Capacity of the particular SKU.
|
String |
family()
Get the family property: If the service has different generations of hardware, for the same SKU, then that can be
captured here.
|
String |
name()
Get the name property: The name of the SKU, typically, a letter + Number code, e.g.
|
String |
size()
Get the size property: Size of the particular SKU.
|
String |
tier()
Get the tier property: The tier or edition of the particular SKU, e.g.
|
void |
validate()
Validates the instance.
|
Sku |
withCapacity(Integer capacity)
Set the capacity property: Capacity of the particular SKU.
|
Sku |
withFamily(String family)
Set the family property: If the service has different generations of hardware, for the same SKU, then that can be
captured here.
|
Sku |
withName(String name)
Set the name property: The name of the SKU, typically, a letter + Number code, e.g.
|
Sku |
withSize(String size)
Set the size property: Size of the particular SKU.
|
Sku |
withTier(String tier)
Set the tier property: The tier or edition of the particular SKU, e.g.
|
public String name()
public Sku withName(String name)
name - the name value to set.public String tier()
public Sku withTier(String tier)
tier - the tier value to set.public String size()
public Sku withSize(String size)
size - the size value to set.public String family()
public Sku withFamily(String family)
family - the family value to set.public Integer capacity()
public Sku withCapacity(Integer capacity)
capacity - the capacity value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.