DiskEncryptionProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.hdinsight.models.DiskEncryptionProperties

public final class DiskEncryptionProperties

The disk encryption properties.

Constructor Summary

Constructor Description
DiskEncryptionProperties()

Creates an instance of DiskEncryptionProperties class.

Method Summary

Modifier and Type Method and Description
JsonWebKeyEncryptionAlgorithm encryptionAlgorithm()

Get the encryptionAlgorithm property: Algorithm identifier for encryption, default RSA-OAEP.

Boolean encryptionAtHost()

Get the encryptionAtHost property: Indicates whether or not resource disk encryption is enabled.

String keyName()

Get the keyName property: Key name that is used for enabling disk encryption.

String keyVersion()

Get the keyVersion property: Specific key version that is used for enabling disk encryption.

String msiResourceId()

Get the msiResourceId property: Resource ID of Managed Identity that is used to access the key vault.

void validate()

Validates the instance.

String vaultUri()

Get the vaultUri property: Base key vault URI where the customers key is located eg.

DiskEncryptionProperties withEncryptionAlgorithm(JsonWebKeyEncryptionAlgorithm encryptionAlgorithm)

Set the encryptionAlgorithm property: Algorithm identifier for encryption, default RSA-OAEP.

DiskEncryptionProperties withEncryptionAtHost(Boolean encryptionAtHost)

Set the encryptionAtHost property: Indicates whether or not resource disk encryption is enabled.

DiskEncryptionProperties withKeyName(String keyName)

Set the keyName property: Key name that is used for enabling disk encryption.

DiskEncryptionProperties withKeyVersion(String keyVersion)

Set the keyVersion property: Specific key version that is used for enabling disk encryption.

DiskEncryptionProperties withMsiResourceId(String msiResourceId)

Set the msiResourceId property: Resource ID of Managed Identity that is used to access the key vault.

DiskEncryptionProperties withVaultUri(String vaultUri)

Set the vaultUri property: Base key vault URI where the customers key is located eg.

Methods inherited from java.lang.Object

Constructor Details

DiskEncryptionProperties

public DiskEncryptionProperties()

Creates an instance of DiskEncryptionProperties class.

Method Details

encryptionAlgorithm

public JsonWebKeyEncryptionAlgorithm encryptionAlgorithm()

Get the encryptionAlgorithm property: Algorithm identifier for encryption, default RSA-OAEP.

Returns:

the encryptionAlgorithm value.

encryptionAtHost

public Boolean encryptionAtHost()

Get the encryptionAtHost property: Indicates whether or not resource disk encryption is enabled.

Returns:

the encryptionAtHost value.

keyName

public String keyName()

Get the keyName property: Key name that is used for enabling disk encryption.

Returns:

the keyName value.

keyVersion

public String keyVersion()

Get the keyVersion property: Specific key version that is used for enabling disk encryption.

Returns:

the keyVersion value.

msiResourceId

public String msiResourceId()

Get the msiResourceId property: Resource ID of Managed Identity that is used to access the key vault.

Returns:

the msiResourceId value.

validate

public void validate()

Validates the instance.

vaultUri

public String vaultUri()

Get the vaultUri property: Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net.

Returns:

the vaultUri value.

withEncryptionAlgorithm

public DiskEncryptionProperties withEncryptionAlgorithm(JsonWebKeyEncryptionAlgorithm encryptionAlgorithm)

Set the encryptionAlgorithm property: Algorithm identifier for encryption, default RSA-OAEP.

Parameters:

encryptionAlgorithm - the encryptionAlgorithm value to set.

Returns:

the DiskEncryptionProperties object itself.

withEncryptionAtHost

public DiskEncryptionProperties withEncryptionAtHost(Boolean encryptionAtHost)

Set the encryptionAtHost property: Indicates whether or not resource disk encryption is enabled.

Parameters:

encryptionAtHost - the encryptionAtHost value to set.

Returns:

the DiskEncryptionProperties object itself.

withKeyName

public DiskEncryptionProperties withKeyName(String keyName)

Set the keyName property: Key name that is used for enabling disk encryption.

Parameters:

keyName - the keyName value to set.

Returns:

the DiskEncryptionProperties object itself.

withKeyVersion

public DiskEncryptionProperties withKeyVersion(String keyVersion)

Set the keyVersion property: Specific key version that is used for enabling disk encryption.

Parameters:

keyVersion - the keyVersion value to set.

Returns:

the DiskEncryptionProperties object itself.

withMsiResourceId

public DiskEncryptionProperties withMsiResourceId(String msiResourceId)

Set the msiResourceId property: Resource ID of Managed Identity that is used to access the key vault.

Parameters:

msiResourceId - the msiResourceId value to set.

Returns:

the DiskEncryptionProperties object itself.

withVaultUri

public DiskEncryptionProperties withVaultUri(String vaultUri)

Set the vaultUri property: Base key vault URI where the customers key is located eg. https://myvault.vault.azure.net.

Parameters:

vaultUri - the vaultUri value to set.

Returns:

the DiskEncryptionProperties object itself.

Applies to