Encryption Class
- java.
lang. Object - com.
azure. resourcemanager. maps. models. Encryption
- com.
public final class Encryption
(Optional) Discouraged to include in resource definition. Only needed where it is possible to disable platform (AKA infrastructure) encryption. Azure SQL TDE is an example of this. Values are enabled and disabled.
Constructor Summary
| Constructor | Description |
|---|---|
| Encryption() |
Creates an instance of Encryption class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Customer |
customerManagedKeyEncryption()
Get the customer |
|
Infrastructure |
infrastructureEncryption()
Get the infrastructure |
| void |
validate()
Validates the instance. |
| Encryption |
withCustomerManagedKeyEncryption(CustomerManagedKeyEncryption customerManagedKeyEncryption)
Set the customer |
| Encryption |
withInfrastructureEncryption(InfrastructureEncryption infrastructureEncryption)
Set the infrastructure |
Methods inherited from java.lang.Object
Constructor Details
Encryption
public Encryption()
Creates an instance of Encryption class.
Method Details
customerManagedKeyEncryption
public CustomerManagedKeyEncryption customerManagedKeyEncryption()
Get the customerManagedKeyEncryption property: All Customer-managed key encryption properties for the resource.
Returns:
infrastructureEncryption
public InfrastructureEncryption infrastructureEncryption()
Get the infrastructureEncryption property: Values are enabled and disabled.
Returns:
validate
public void validate()
Validates the instance.
withCustomerManagedKeyEncryption
public Encryption withCustomerManagedKeyEncryption(CustomerManagedKeyEncryption customerManagedKeyEncryption)
Set the customerManagedKeyEncryption property: All Customer-managed key encryption properties for the resource.
Parameters:
Returns:
withInfrastructureEncryption
public Encryption withInfrastructureEncryption(InfrastructureEncryption infrastructureEncryption)
Set the infrastructureEncryption property: Values are enabled and disabled.
Parameters:
Returns: