public class Sku extends Object
| Constructor and Description |
|---|
Sku() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
capacity()
Get if the SKU supports scale out/in then the capacity integer should be included.
|
String |
family()
Get if the service has different generations of hardware, for the same SKU, then that can be captured here.
|
String |
name()
Get the name of the SKU.
|
String |
size()
Get the SKU size.
|
String |
tier()
Get this field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
|
Sku |
withCapacity(Integer capacity)
Set if the SKU supports scale out/in then the capacity integer should be included.
|
Sku |
withFamily(String family)
Set 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 of the SKU.
|
Sku |
withSize(String size)
Set the SKU size.
|
Sku |
withTier(String tier)
Set this field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
|
public String name()
public Sku withName(String name)
name - the name value to setpublic String tier()
public Sku withTier(String tier)
tier - the tier value to setpublic String size()
public Sku withSize(String size)
size - the size value to setpublic String family()
public Sku withFamily(String family)
family - the family value to setpublic Integer capacity()
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/