java.lang.Object
com.azure.resourcemanager.mysqlflexibleserver.models.DataEncryption
public final class DataEncryption
extends Object
The date encryption for cmk.
Constructor Summary
Constructors
Creates an instance of DataEncryption class.
Method Summary
All Methods Instance Methods Concrete Methods
Get the geoBackupKeyUri property: Geo backup key uri as key vault can't cross region, need cmk in same region as
geo backup.
Get the geoBackupUserAssignedIdentityId property: Geo backup user identity resource id as identity can't cross
region, need identity in same region as geo backup.
Get the primaryKeyUri property: Primary key uri.
Get the primaryUserAssignedIdentityId property: Primary user identity resource id.
Get the type property: The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk.
void
Set the geoBackupKeyUri property: Geo backup key uri as key vault can't cross region, need cmk in same region as
geo backup.
Set the geoBackupUserAssignedIdentityId property: Geo backup user identity resource id as identity can't cross
region, need identity in same region as geo backup.
Set the primaryKeyUri property: Primary key uri.
Set the primaryUserAssignedIdentityId property: Primary user identity resource id.
Set the type property: The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk.
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Constructor Details
DataEncryption
public DataEncryption ()
Creates an instance of DataEncryption class.
Method Details
primaryUserAssignedIdentityId
public String primaryUserAssignedIdentityId ()
Get the primaryUserAssignedIdentityId property: Primary user identity resource id.
Returns:
the primaryUserAssignedIdentityId value.
withPrimaryUserAssignedIdentityId
Set the primaryUserAssignedIdentityId property: Primary user identity resource id.
Parameters:
primaryUserAssignedIdentityId
- the primaryUserAssignedIdentityId value to set.
Returns:
the DataEncryption object itself.
primaryKeyUri
Get the primaryKeyUri property: Primary key uri.
Returns:
the primaryKeyUri value.
withPrimaryKeyUri
Set the primaryKeyUri property: Primary key uri.
Parameters:
primaryKeyUri
- the primaryKeyUri value to set.
Returns:
the DataEncryption object itself.
geoBackupUserAssignedIdentityId
public String geoBackupUserAssignedIdentityId ()
Get the geoBackupUserAssignedIdentityId property: Geo backup user identity resource id as identity can't cross
region, need identity in same region as geo backup.
Returns:
the geoBackupUserAssignedIdentityId value.
withGeoBackupUserAssignedIdentityId
Set the geoBackupUserAssignedIdentityId property: Geo backup user identity resource id as identity can't cross
region, need identity in same region as geo backup.
Parameters:
geoBackupUserAssignedIdentityId
- the geoBackupUserAssignedIdentityId value to set.
Returns:
the DataEncryption object itself.
geoBackupKeyUri
public String geoBackupKeyUri ()
Get the geoBackupKeyUri property: Geo backup key uri as key vault can't cross region, need cmk in same region as
geo backup.
Returns:
the geoBackupKeyUri value.
withGeoBackupKeyUri
Set the geoBackupKeyUri property: Geo backup key uri as key vault can't cross region, need cmk in same region as
geo backup.
Parameters:
geoBackupKeyUri
- the geoBackupKeyUri value to set.
Returns:
the DataEncryption object itself.
type
Get the type property: The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk.
Returns:
the type value.
withType
Set the type property: The key type, AzureKeyVault for enable cmk, SystemManaged for disable cmk.
Parameters:
type
- the type value to set.
Returns:
the DataEncryption object itself.
validate
public void validate ()
Validates the instance.
Throws:
IllegalArgumentException
- thrown if the instance is not valid.