次の方法で共有


AvailableServiceSkuInner Class

  • java.lang.Object
    • com.azure.resourcemanager.datamigration.fluent.models.AvailableServiceSkuInner

Implements

public final class AvailableServiceSkuInner
implements JsonSerializable<AvailableServiceSkuInner>

Describes the available service SKU.

Constructor Summary

Constructor Description
AvailableServiceSkuInner()

Creates an instance of AvailableServiceSkuInner class.

Method Summary

Modifier and Type Method and Description
AvailableServiceSkuCapacity capacity()

Get the capacity property: A description of the scaling capacities of the SKU.

static AvailableServiceSkuInner fromJson(JsonReader jsonReader)

Reads an instance of AvailableServiceSkuInner from the JsonReader.

String resourceType()

Get the resourceType property: The resource type, including the provider namespace.

AvailableServiceSkuSku sku()

Get the sku property: SKU name, tier, etc.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AvailableServiceSkuInner withCapacity(AvailableServiceSkuCapacity capacity)

Set the capacity property: A description of the scaling capacities of the SKU.

AvailableServiceSkuInner withResourceType(String resourceType)

Set the resourceType property: The resource type, including the provider namespace.

AvailableServiceSkuInner 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:

the capacity value.

fromJson

public static AvailableServiceSkuInner fromJson(JsonReader jsonReader)

Reads an instance of AvailableServiceSkuInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AvailableServiceSkuInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the AvailableServiceSkuInner.

resourceType

public String resourceType()

Get the resourceType property: The resource type, including the provider namespace.

Returns:

the resourceType value.

sku

public AvailableServiceSkuSku sku()

Get the sku property: SKU name, tier, etc.

Returns:

the sku value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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:

capacity - the capacity value to set.

Returns:

the AvailableServiceSkuInner object itself.

withResourceType

public AvailableServiceSkuInner withResourceType(String resourceType)

Set the resourceType property: The resource type, including the provider namespace.

Parameters:

resourceType - the resourceType value to set.

Returns:

the AvailableServiceSkuInner object itself.

withSku

public AvailableServiceSkuInner withSku(AvailableServiceSkuSku sku)

Set the sku property: SKU name, tier, etc.

Parameters:

sku - the sku value to set.

Returns:

the AvailableServiceSkuInner object itself.

Applies to