AccountEncryption Class

  • java.lang.Object
    • com.azure.resourcemanager.mediaservices.models.AccountEncryption

public final class AccountEncryption

The AccountEncryption model.

Constructor Summary

Constructor Description
AccountEncryption()

Creates an instance of AccountEncryption class.

Method Summary

Modifier and Type Method and Description
ResourceIdentity identity()

Get the identity property: The Key Vault identity.

KeyVaultProperties keyVaultProperties()

Get the keyVaultProperties property: The properties of the key used to encrypt the account.

String status()

Get the status property: The current status of the Key Vault mapping.

AccountEncryptionKeyType type()

Get the type property: The type of key used to encrypt the Account Key.

void validate()

Validates the instance.

AccountEncryption withIdentity(ResourceIdentity identity)

Set the identity property: The Key Vault identity.

AccountEncryption withKeyVaultProperties(KeyVaultProperties keyVaultProperties)

Set the keyVaultProperties property: The properties of the key used to encrypt the account.

AccountEncryption withType(AccountEncryptionKeyType type)

Set the type property: The type of key used to encrypt the Account Key.

Methods inherited from java.lang.Object

Constructor Details

AccountEncryption

public AccountEncryption()

Creates an instance of AccountEncryption class.

Method Details

identity

public ResourceIdentity identity()

Get the identity property: The Key Vault identity.

Returns:

the identity value.

keyVaultProperties

public KeyVaultProperties keyVaultProperties()

Get the keyVaultProperties property: The properties of the key used to encrypt the account.

Returns:

the keyVaultProperties value.

status

public String status()

Get the status property: The current status of the Key Vault mapping.

Returns:

the status value.

type

public AccountEncryptionKeyType type()

Get the type property: The type of key used to encrypt the Account Key.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withIdentity

public AccountEncryption withIdentity(ResourceIdentity identity)

Set the identity property: The Key Vault identity.

Parameters:

identity - the identity value to set.

Returns:

the AccountEncryption object itself.

withKeyVaultProperties

public AccountEncryption withKeyVaultProperties(KeyVaultProperties keyVaultProperties)

Set the keyVaultProperties property: The properties of the key used to encrypt the account.

Parameters:

keyVaultProperties - the keyVaultProperties value to set.

Returns:

the AccountEncryption object itself.

withType

public AccountEncryption withType(AccountEncryptionKeyType type)

Set the type property: The type of key used to encrypt the Account Key.

Parameters:

type - the type value to set.

Returns:

the AccountEncryption object itself.

Applies to