AvailableServiceSkuInner Class
- java.
lang. Object - com.
azure. resourcemanager. datamigration. fluent. models. AvailableServiceSkuInner
- com.
Implements
public final class AvailableServiceSkuInner
implements JsonSerializable<AvailableServiceSkuInner>
Describes the available service SKU.
Constructor Summary
| Constructor | Description |
|---|---|
| AvailableServiceSkuInner() |
Creates an instance of Available |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Available |
capacity()
Get the capacity property: A description of the scaling capacities of the SKU. |
|
static
Available |
fromJson(JsonReader jsonReader)
Reads an instance of Available |
| String |
resourceType()
Get the resource |
|
Available |
sku()
Get the sku property: SKU name, tier, etc. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Available |
withCapacity(AvailableServiceSkuCapacity capacity)
Set the capacity property: A description of the scaling capacities of the SKU. |
|
Available |
withResourceType(String resourceType)
Set the resource |
|
Available |
withSku(AvailableServiceSkuSku sku)
Set the sku property: SKU name, tier, etc. |
Methods inherited from java.lang.Object
Constructor Details
AvailableServiceSkuInner
public AvailableServiceSkuInner()
Creates an instance of AvailableServiceSkuInner class.
Method Details
capacity
public AvailableServiceSkuCapacity capacity()
Get the capacity property: A description of the scaling capacities of the SKU.
Returns:
fromJson
public static AvailableServiceSkuInner fromJson(JsonReader jsonReader)
Reads an instance of AvailableServiceSkuInner from the JsonReader.
Parameters:
Returns:
Throws:
resourceType
public String resourceType()
Get the resourceType property: The resource type, including the provider namespace.
Returns:
sku
public AvailableServiceSkuSku sku()
Get the sku property: SKU name, tier, etc.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCapacity
public AvailableServiceSkuInner withCapacity(AvailableServiceSkuCapacity capacity)
Set the capacity property: A description of the scaling capacities of the SKU.
Parameters:
Returns:
withResourceType
public AvailableServiceSkuInner withResourceType(String resourceType)
Set the resourceType property: The resource type, including the provider namespace.
Parameters:
Returns:
withSku
public AvailableServiceSkuInner withSku(AvailableServiceSkuSku sku)
Set the sku property: SKU name, tier, etc.
Parameters:
Returns: