Share via


CodeSigningAccountPatch Class

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

Implements

public final class CodeSigningAccountPatch
implements JsonSerializable<CodeSigningAccountPatch>

Parameters for creating or updating a trusted signing account.

Constructor Summary

Constructor Description
CodeSigningAccountPatch()

Creates an instance of CodeSigningAccountPatch class.

Method Summary

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

Reads an instance of CodeSigningAccountPatch from the JsonReader.

AccountSku sku()

Get the sku property: SKU of the trusted signing account.

Map<String,String> tags()

Get the tags property: Resource tags.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

CodeSigningAccountPatch withSku(AccountSku sku)

Set the sku property: SKU of the trusted signing account.

CodeSigningAccountPatch withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Methods inherited from java.lang.Object

Constructor Details

CodeSigningAccountPatch

public CodeSigningAccountPatch()

Creates an instance of CodeSigningAccountPatch class.

Method Details

fromJson

public static CodeSigningAccountPatch fromJson(JsonReader jsonReader)

Reads an instance of CodeSigningAccountPatch from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

sku

public AccountSku sku()

Get the sku property: SKU of the trusted signing account.

Returns:

the sku value.

tags

public Map<String,String> tags()

Get the tags property: Resource tags.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withSku

public CodeSigningAccountPatch withSku(AccountSku sku)

Set the sku property: SKU of the trusted signing account.

Parameters:

sku - the sku value to set.

Returns:

the CodeSigningAccountPatch object itself.

withTags

public CodeSigningAccountPatch withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Parameters:

tags - the tags value to set.

Returns:

the CodeSigningAccountPatch object itself.

Applies to