SkuInfosInner Class

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

Implements

public final class SkuInfosInner
implements JsonSerializable<SkuInfosInner>

Collection of SKU information.

Constructor Summary

Constructor Description
SkuInfosInner()

Creates an instance of SkuInfosInner class.

Method Summary

Modifier and Type Method and Description
static SkuInfosInner fromJson(JsonReader jsonReader)

Reads an instance of SkuInfosInner from the JsonReader.

String resourceType()

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

List<GlobalCsmSkuDescription> skus()

Get the skus property: List of SKUs the subscription is able to use.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SkuInfosInner withResourceType(String resourceType)

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

SkuInfosInner withSkus(List<GlobalCsmSkuDescription> skus)

Set the skus property: List of SKUs the subscription is able to use.

Methods inherited from java.lang.Object

Constructor Details

SkuInfosInner

public SkuInfosInner()

Creates an instance of SkuInfosInner class.

Method Details

fromJson

public static SkuInfosInner fromJson(JsonReader jsonReader)

Reads an instance of SkuInfosInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

resourceType

public String resourceType()

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

Returns:

the resourceType value.

skus

public List skus()

Get the skus property: List of SKUs the subscription is able to use.

Returns:

the skus value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withResourceType

public SkuInfosInner withResourceType(String resourceType)

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

Parameters:

resourceType - the resourceType value to set.

Returns:

the SkuInfosInner object itself.

withSkus

public SkuInfosInner withSkus(List skus)

Set the skus property: List of SKUs the subscription is able to use.

Parameters:

skus - the skus value to set.

Returns:

the SkuInfosInner object itself.

Applies to