次の方法で共有


AccountSku Class

  • java.lang.Object
    • com.azure.resourcemanager.trustedsigning.models.AccountSku

Implements

public final class AccountSku
implements JsonSerializable<AccountSku>

SKU of the trusted signing account.

Constructor Summary

Constructor Description
AccountSku()

Creates an instance of AccountSku class.

Method Summary

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

Reads an instance of AccountSku from the JsonReader.

SkuName name()

Get the name property: Name of the SKU.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AccountSku withName(SkuName name)

Set the name property: Name of the SKU.

Methods inherited from java.lang.Object

Constructor Details

AccountSku

public AccountSku()

Creates an instance of AccountSku class.

Method Details

fromJson

public static AccountSku fromJson(JsonReader jsonReader)

Reads an instance of AccountSku from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AccountSku if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

name

public SkuName name()

Get the name property: Name of the SKU.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withName

public AccountSku withName(SkuName name)

Set the name property: Name of the SKU.

Parameters:

name - the name value to set.

Returns:

the AccountSku object itself.

Applies to