Encryption Class

  • java.lang.Object
    • com.azure.resourcemanager.servicebus.models.Encryption

public final class Encryption

Properties to configure Encryption.

Constructor Summary

Constructor Description
Encryption()

Method Summary

Modifier and Type Method and Description
KeySource keySource()

Get the keySource property: Enumerates the possible value of keySource for Encryption.

List<KeyVaultProperties> keyVaultProperties()

Get the keyVaultProperties property: Properties of KeyVault.

Boolean requireInfrastructureEncryption()

Get the requireInfrastructureEncryption property: Enable Infrastructure Encryption (Double Encryption).

void validate()

Validates the instance.

Encryption withKeySource(KeySource keySource)

Set the keySource property: Enumerates the possible value of keySource for Encryption.

Encryption withKeyVaultProperties(List<KeyVaultProperties> keyVaultProperties)

Set the keyVaultProperties property: Properties of KeyVault.

Encryption withRequireInfrastructureEncryption(Boolean requireInfrastructureEncryption)

Set the requireInfrastructureEncryption property: Enable Infrastructure Encryption (Double Encryption).

Methods inherited from java.lang.Object

Constructor Details

Encryption

public Encryption()

Method Details

keySource

public KeySource keySource()

Get the keySource property: Enumerates the possible value of keySource for Encryption.

Returns:

the keySource value.

keyVaultProperties

public List keyVaultProperties()

Get the keyVaultProperties property: Properties of KeyVault.

Returns:

the keyVaultProperties value.

requireInfrastructureEncryption

public Boolean requireInfrastructureEncryption()

Get the requireInfrastructureEncryption property: Enable Infrastructure Encryption (Double Encryption).

Returns:

the requireInfrastructureEncryption value.

validate

public void validate()

Validates the instance.

withKeySource

public Encryption withKeySource(KeySource keySource)

Set the keySource property: Enumerates the possible value of keySource for Encryption.

Parameters:

keySource - the keySource value to set.

Returns:

the Encryption object itself.

withKeyVaultProperties

public Encryption withKeyVaultProperties(List keyVaultProperties)

Set the keyVaultProperties property: Properties of KeyVault.

Parameters:

keyVaultProperties - the keyVaultProperties value to set.

Returns:

the Encryption object itself.

withRequireInfrastructureEncryption

public Encryption withRequireInfrastructureEncryption(Boolean requireInfrastructureEncryption)

Set the requireInfrastructureEncryption property: Enable Infrastructure Encryption (Double Encryption).

Parameters:

requireInfrastructureEncryption - the requireInfrastructureEncryption value to set.

Returns:

the Encryption object itself.

Applies to