ResourceSkuCapabilities Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.models.ResourceSkuCapabilities

Implements

public final class ResourceSkuCapabilities
implements JsonSerializable<ResourceSkuCapabilities>

The ResourceSkuCapabilities model.

Constructor Summary

Constructor Description
ResourceSkuCapabilities()

Creates an instance of ResourceSkuCapabilities class.

Method Summary

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

Reads an instance of ResourceSkuCapabilities from the JsonReader.

String name()

Get the name property: Gets an invariant to describe the feature.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String value()

Get the value property: Gets an invariant if the feature is measured by quantity.

ResourceSkuCapabilities withName(String name)

Set the name property: Gets an invariant to describe the feature.

ResourceSkuCapabilities withValue(String value)

Set the value property: Gets an invariant if the feature is measured by quantity.

Methods inherited from java.lang.Object

Constructor Details

ResourceSkuCapabilities

public ResourceSkuCapabilities()

Creates an instance of ResourceSkuCapabilities class.

Method Details

fromJson

public static ResourceSkuCapabilities fromJson(JsonReader jsonReader)

Reads an instance of ResourceSkuCapabilities from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: Gets an invariant to describe the feature.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public String value()

Get the value property: Gets an invariant if the feature is measured by quantity.

Returns:

the value value.

withName

public ResourceSkuCapabilities withName(String name)

Set the name property: Gets an invariant to describe the feature.

Parameters:

name - the name value to set.

Returns:

the ResourceSkuCapabilities object itself.

withValue

public ResourceSkuCapabilities withValue(String value)

Set the value property: Gets an invariant if the feature is measured by quantity.

Parameters:

value - the value value to set.

Returns:

the ResourceSkuCapabilities object itself.

Applies to