SkuInformationInner Class

  • java.lang.Object
    • com.azure.resourcemanager.databox.fluent.models.SkuInformationInner

Implements

public final class SkuInformationInner
implements JsonSerializable<SkuInformationInner>

Information of the sku.

Constructor Summary

Constructor Description
SkuInformationInner()

Creates an instance of SkuInformationInner class.

Method Summary

Modifier and Type Method and Description
List<String> apiVersions()

Get the apiVersions property: Api versions that support this Sku.

SkuCapacity capacity()

Get the capacity property: Capacity of the Sku.

List<SkuCost> costs()

Get the costs property: Cost of the Sku.

List<String> countriesWithinCommerceBoundary()

Get the countriesWithinCommerceBoundary property: List of all the Countries in the SKU specific commerce boundary.

List<DataLocationToServiceLocationMap> dataLocationToServiceLocationMap()

Get the dataLocationToServiceLocationMap property: The map of data location to service location.

SkuDisabledReason disabledReason()

Get the disabledReason property: Reason why the Sku is disabled.

String disabledReasonMessage()

Get the disabledReasonMessage property: Message for why the Sku is disabled.

Boolean enabled()

Get the enabled property: The sku is enabled or not.

static SkuInformationInner fromJson(JsonReader jsonReader)

Reads an instance of SkuInformationInner from the JsonReader.

String requiredFeature()

Get the requiredFeature property: Required feature to access the sku.

Sku sku()

Get the sku property: The Sku.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

SkuInformationInner

public SkuInformationInner()

Creates an instance of SkuInformationInner class.

Method Details

apiVersions

public List<String> apiVersions()

Get the apiVersions property: Api versions that support this Sku.

Returns:

the apiVersions value.

capacity

public SkuCapacity capacity()

Get the capacity property: Capacity of the Sku.

Returns:

the capacity value.

costs

public List<SkuCost> costs()

Get the costs property: Cost of the Sku.

Returns:

the costs value.

countriesWithinCommerceBoundary

public List<String> countriesWithinCommerceBoundary()

Get the countriesWithinCommerceBoundary property: List of all the Countries in the SKU specific commerce boundary.

Returns:

the countriesWithinCommerceBoundary value.

dataLocationToServiceLocationMap

public List<DataLocationToServiceLocationMap> dataLocationToServiceLocationMap()

Get the dataLocationToServiceLocationMap property: The map of data location to service location.

Returns:

the dataLocationToServiceLocationMap value.

disabledReason

public SkuDisabledReason disabledReason()

Get the disabledReason property: Reason why the Sku is disabled.

Returns:

the disabledReason value.

disabledReasonMessage

public String disabledReasonMessage()

Get the disabledReasonMessage property: Message for why the Sku is disabled.

Returns:

the disabledReasonMessage value.

enabled

public Boolean enabled()

Get the enabled property: The sku is enabled or not.

Returns:

the enabled value.

fromJson

public static SkuInformationInner fromJson(JsonReader jsonReader)

Reads an instance of SkuInformationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

requiredFeature

public String requiredFeature()

Get the requiredFeature property: Required feature to access the sku.

Returns:

the requiredFeature value.

sku

public Sku sku()

Get the sku property: The Sku.

Returns:

the sku value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to