Class EncryptionProtectorProperties
java.lang.Object
com.azure.resourcemanager.sql.fluent.models.EncryptionProtectorProperties
Properties for an encryption protector execution.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of EncryptionProtectorProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the autoRotationEnabled property: Key auto rotation opt-in flag.Get the serverKeyName property: The name of the server key.Get the serverKeyType property: The encryption protector type like 'ServiceManaged', 'AzureKeyVault'.Get the subregion property: Subregion of the encryption protector.Get the thumbprint property: Thumbprint of the server key.uri()Get the uri property: The URI of the server key.voidvalidate()Validates the instance.withAutoRotationEnabled(Boolean autoRotationEnabled) Set the autoRotationEnabled property: Key auto rotation opt-in flag.withServerKeyName(String serverKeyName) Set the serverKeyName property: The name of the server key.withServerKeyType(ServerKeyType serverKeyType) Set the serverKeyType property: The encryption protector type like 'ServiceManaged', 'AzureKeyVault'.
-
Constructor Details
-
EncryptionProtectorProperties
public EncryptionProtectorProperties()Creates an instance of EncryptionProtectorProperties class.
-
-
Method Details
-
subregion
Get the subregion property: Subregion of the encryption protector.- Returns:
- the subregion value.
-
serverKeyName
Get the serverKeyName property: The name of the server key.- Returns:
- the serverKeyName value.
-
withServerKeyName
Set the serverKeyName property: The name of the server key.- Parameters:
serverKeyName- the serverKeyName value to set.- Returns:
- the EncryptionProtectorProperties object itself.
-
serverKeyType
Get the serverKeyType property: The encryption protector type like 'ServiceManaged', 'AzureKeyVault'.- Returns:
- the serverKeyType value.
-
withServerKeyType
Set the serverKeyType property: The encryption protector type like 'ServiceManaged', 'AzureKeyVault'.- Parameters:
serverKeyType- the serverKeyType value to set.- Returns:
- the EncryptionProtectorProperties object itself.
-
uri
Get the uri property: The URI of the server key.- Returns:
- the uri value.
-
thumbprint
Get the thumbprint property: Thumbprint of the server key.- Returns:
- the thumbprint value.
-
autoRotationEnabled
Get the autoRotationEnabled property: Key auto rotation opt-in flag. Either true or false.- Returns:
- the autoRotationEnabled value.
-
withAutoRotationEnabled
Set the autoRotationEnabled property: Key auto rotation opt-in flag. Either true or false.- Parameters:
autoRotationEnabled- the autoRotationEnabled value to set.- Returns:
- the EncryptionProtectorProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-