public final class Sku extends Object
| Constructor and Description |
|---|
Sku() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
capacity()
Get the capacity property: The SKU capacity.
|
String |
family()
Get the family property: The SKU family.
|
String |
model()
Get the model property: The SKU model.
|
String |
name()
Get the name property: The SKU name.
|
String |
size()
Get the size property: The SKU size.
|
String |
tier()
Get the tier property: The SKU tier.
|
void |
validate()
Validates the instance.
|
Sku |
withCapacity(Integer capacity)
Set the capacity property: The SKU capacity.
|
Sku |
withFamily(String family)
Set the family property: The SKU family.
|
Sku |
withModel(String model)
Set the model property: The SKU model.
|
Sku |
withName(String name)
Set the name property: The SKU name.
|
Sku |
withSize(String size)
Set the size property: The SKU size.
|
Sku |
withTier(String tier)
Set the tier property: The SKU tier.
|
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 String model()
public Sku withModel(String model)
model - the model 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 © 2021 Microsoft Corporation. All rights reserved.