다음을 통해 공유


SkuCapability Class

  • java.lang.Object
    • com.azure.resourcemanager.storage.models.SkuCapability

Implements

public final class SkuCapability
implements JsonSerializable<SkuCapability>

The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc.

Constructor Summary

Constructor Description
SkuCapability()

Creates an instance of SkuCapability class.

Method Summary

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

Reads an instance of SkuCapability from the JsonReader.

String name()

Get the name property: The name of capability, The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String value()

Get the value property: A string value to indicate states of given capability.

Methods inherited from java.lang.Object

Constructor Details

SkuCapability

public SkuCapability()

Creates an instance of SkuCapability class.

Method Details

fromJson

public static SkuCapability fromJson(JsonReader jsonReader)

Reads an instance of SkuCapability from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: The name of capability, The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc.

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: A string value to indicate states of given capability. Possibly 'true' or 'false'.

Returns:

the value value.

Applies to