AvailableServiceSkuSku Class
- java.
lang. Object - com.
azure. resourcemanager. datamigration. models. AvailableServiceSkuSku
- com.
Implements
public final class AvailableServiceSkuSku
implements JsonSerializable<AvailableServiceSkuSku>
SKU name, tier, etc.
Constructor Summary
| Constructor | Description |
|---|---|
| AvailableServiceSkuSku() |
Creates an instance of Available |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
family()
Get the family property: SKU family. |
|
static
Available |
fromJson(JsonReader jsonReader)
Reads an instance of Available |
| String |
name()
Get the name property: The name of the SKU. |
| String |
size()
Get the size property: SKU size. |
| String |
tier()
Get the tier property: The tier of the SKU, such as "Basic", "General Purpose", or "Business Critical". |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Available |
withFamily(String family)
Set the family property: SKU family. |
|
Available |
withName(String name)
Set the name property: The name of the SKU. |
|
Available |
withSize(String size)
Set the size property: SKU size. |
|
Available |
withTier(String tier)
Set the tier property: The tier of the SKU, such as "Basic", "General Purpose", or "Business Critical". |
Methods inherited from java.lang.Object
Constructor Details
AvailableServiceSkuSku
public AvailableServiceSkuSku()
Creates an instance of AvailableServiceSkuSku class.
Method Details
family
public String family()
Get the family property: SKU family.
Returns:
fromJson
public static AvailableServiceSkuSku fromJson(JsonReader jsonReader)
Reads an instance of AvailableServiceSkuSku from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name of the SKU.
Returns:
size
public String size()
Get the size property: SKU size.
Returns:
tier
public String tier()
Get the tier property: The tier of the SKU, such as "Basic", "General Purpose", or "Business Critical".
Returns:
toJson
validate
public void validate()
Validates the instance.
withFamily
public AvailableServiceSkuSku withFamily(String family)
Set the family property: SKU family.
Parameters:
Returns:
withName
public AvailableServiceSkuSku withName(String name)
Set the name property: The name of the SKU.
Parameters:
Returns:
withSize
public AvailableServiceSkuSku withSize(String size)
Set the size property: SKU size.
Parameters:
Returns:
withTier
public AvailableServiceSkuSku withTier(String tier)
Set the tier property: The tier of the SKU, such as "Basic", "General Purpose", or "Business Critical".
Parameters:
Returns: