Encryption Class

  • java.lang.Object
    • com.microsoft.azure.management.storage.Encryption

public class Encryption

The encryption settings on the storage account.

Constructor Summary

Constructor Description
Encryption()

Method Summary

Modifier and Type Method and Description
KeySource keySource()

Get the encryption keySource (provider).

KeyVaultProperties keyVaultProperties()

Get properties provided by key vault.

java.lang.Boolean requireInfrastructureEncryption()

Get a boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest.

EncryptionServices services()

Get list of services which support encryption.

Encryption withKeySource(KeySource keySource)

Set the encryption keySource (provider).

Encryption withKeyVaultProperties(KeyVaultProperties keyVaultProperties)

Set properties provided by key vault.

Encryption withRequireInfrastructureEncryption(Boolean requireInfrastructureEncryption)

Set a boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest.

Encryption withServices(EncryptionServices services)

Set list of services which support encryption.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

Encryption

public Encryption()

Method Details

keySource

public KeySource keySource()

Get the encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: 'Microsoft.Storage', 'Microsoft.Keyvault'.

Returns:

the keySource value

keyVaultProperties

public KeyVaultProperties keyVaultProperties()

Get properties provided by key vault.

Returns:

the keyVaultProperties value

requireInfrastructureEncryption

public Boolean requireInfrastructureEncryption()

Get a boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest.

Returns:

the requireInfrastructureEncryption value

services

public EncryptionServices services()

Get list of services which support encryption.

Returns:

the services value

withKeySource

public Encryption withKeySource(KeySource keySource)

Set the encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: 'Microsoft.Storage', 'Microsoft.Keyvault'.

Parameters:

keySource - the keySource value to set

Returns:

the Encryption object itself.

withKeyVaultProperties

public Encryption withKeyVaultProperties(KeyVaultProperties keyVaultProperties)

Set properties provided by key vault.

Parameters:

keyVaultProperties - the keyVaultProperties value to set

Returns:

the Encryption object itself.

withRequireInfrastructureEncryption

public Encryption withRequireInfrastructureEncryption(Boolean requireInfrastructureEncryption)

Set a boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest.

Parameters:

requireInfrastructureEncryption - the requireInfrastructureEncryption value to set

Returns:

the Encryption object itself.

withServices

public Encryption withServices(EncryptionServices services)

Set list of services which support encryption.

Parameters:

services - the services value to set

Returns:

the Encryption object itself.

Applies to