SkuInfoInner Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.fluent.models.SkuInfoInner

Implements

public final class SkuInfoInner
implements JsonSerializable<SkuInfoInner>

SKU discovery information.

Constructor Summary

Constructor Description
SkuInfoInner()

Creates an instance of SkuInfoInner class.

Method Summary

Modifier and Type Method and Description
SkuCapacity capacity()

Get the capacity property: Min, max, and default scale values of the SKU.

static SkuInfoInner fromJson(JsonReader jsonReader)

Reads an instance of SkuInfoInner from the JsonReader.

String resourceType()

Get the resourceType property: Resource type that this SKU applies to.

SkuDescription sku()

Get the sku property: Name and tier of the SKU.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SkuInfoInner withCapacity(SkuCapacity capacity)

Set the capacity property: Min, max, and default scale values of the SKU.

SkuInfoInner withResourceType(String resourceType)

Set the resourceType property: Resource type that this SKU applies to.

SkuInfoInner withSku(SkuDescription sku)

Set the sku property: Name and tier of the SKU.

Methods inherited from java.lang.Object

Constructor Details

SkuInfoInner

public SkuInfoInner()

Creates an instance of SkuInfoInner class.

Method Details

capacity

public SkuCapacity capacity()

Get the capacity property: Min, max, and default scale values of the SKU.

Returns:

the capacity value.

fromJson

public static SkuInfoInner fromJson(JsonReader jsonReader)

Reads an instance of SkuInfoInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SkuInfoInner 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 SkuInfoInner.

resourceType

public String resourceType()

Get the resourceType property: Resource type that this SKU applies to.

Returns:

the resourceType value.

sku

public SkuDescription sku()

Get the sku property: Name and tier of the SKU.

Returns:

the sku value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCapacity

public SkuInfoInner withCapacity(SkuCapacity capacity)

Set the capacity property: Min, max, and default scale values of the SKU.

Parameters:

capacity - the capacity value to set.

Returns:

the SkuInfoInner object itself.

withResourceType

public SkuInfoInner withResourceType(String resourceType)

Set the resourceType property: Resource type that this SKU applies to.

Parameters:

resourceType - the resourceType value to set.

Returns:

the SkuInfoInner object itself.

withSku

public SkuInfoInner withSku(SkuDescription sku)

Set the sku property: Name and tier of the SKU.

Parameters:

sku - the sku value to set.

Returns:

the SkuInfoInner object itself.

Applies to