public final class Sku extends Object
| Constructor and Description |
|---|
Sku() |
| Modifier and Type | Method and Description |
|---|---|
int |
capacity()
Get the capacity property: The size of the Redis cache to deploy.
|
SkuFamily |
family()
Get the family property: The SKU family to use.
|
SkuName |
name()
Get the name property: The type of Redis cache to deploy.
|
void |
validate()
Validates the instance.
|
Sku |
withCapacity(int capacity)
Set the capacity property: The size of the Redis cache to deploy.
|
Sku |
withFamily(SkuFamily family)
Set the family property: The SKU family to use.
|
Sku |
withName(SkuName name)
Set the name property: The type of Redis cache to deploy.
|
public SkuName name()
public Sku withName(SkuName name)
name - the name value to set.public SkuFamily family()
public Sku withFamily(SkuFamily family)
family - the family value to set.public int capacity()
public Sku withCapacity(int 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.