Encryption Class

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

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
CustomerManagedKeyEncryption customerManagedKeyEncryption()

Get the customerManagedKeyEncryption property: All Customer-managed key encryption properties for the resource.

InfrastructureEncryption infrastructureEncryption()

Get the infrastructureEncryption property: Values are enabled and disabled.

void validate()

Validates the instance.

Encryption withCustomerManagedKeyEncryption(CustomerManagedKeyEncryption customerManagedKeyEncryption)

Set the customerManagedKeyEncryption property: All Customer-managed key encryption properties for the resource.

Encryption withInfrastructureEncryption(InfrastructureEncryption infrastructureEncryption)

Set the infrastructureEncryption property: Values are enabled and disabled.

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:

the customerManagedKeyEncryption value.

infrastructureEncryption

public InfrastructureEncryption infrastructureEncryption()

Get the infrastructureEncryption property: Values are enabled and disabled.

Returns:

the infrastructureEncryption value.

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:

customerManagedKeyEncryption - the customerManagedKeyEncryption value to set.

Returns:

the Encryption object itself.

withInfrastructureEncryption

public Encryption withInfrastructureEncryption(InfrastructureEncryption infrastructureEncryption)

Set the infrastructureEncryption property: Values are enabled and disabled.

Parameters:

infrastructureEncryption - the infrastructureEncryption value to set.

Returns:

the Encryption object itself.

Applies to