Class ManagedInstanceEncryptionProtectorInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.sql.fluent.models.ManagedInstanceEncryptionProtectorInner
-
public class ManagedInstanceEncryptionProtectorInner extends com.azure.core.management.ProxyResourceThe managed instance encryption protector.
-
-
Constructor Summary
Constructors Constructor Description ManagedInstanceEncryptionProtectorInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringkind()Get the kind property: Kind of encryption protector.StringserverKeyName()Get the serverKeyName property: The name of the managed instance key.ServerKeyTypeserverKeyType()Get the serverKeyType property: The encryption protector type like 'ServiceManaged', 'AzureKeyVault'.Stringthumbprint()Get the thumbprint property: Thumbprint of the server key.Stringuri()Get the uri property: The URI of the server key.voidvalidate()Validates the instance.ManagedInstanceEncryptionProtectorInnerwithServerKeyName(String serverKeyName)Set the serverKeyName property: The name of the managed instance key.ManagedInstanceEncryptionProtectorInnerwithServerKeyType(ServerKeyType serverKeyType)Set the serverKeyType property: The encryption protector type like 'ServiceManaged', 'AzureKeyVault'.
-
-
-
Method Detail
-
kind
public String kind()
Get the kind property: Kind of encryption protector. This is metadata used for the Azure portal experience.- Returns:
- the kind value.
-
serverKeyName
public String serverKeyName()
Get the serverKeyName property: The name of the managed instance key.- Returns:
- the serverKeyName value.
-
withServerKeyName
public ManagedInstanceEncryptionProtectorInner withServerKeyName(String serverKeyName)
Set the serverKeyName property: The name of the managed instance key.- Parameters:
serverKeyName- the serverKeyName value to set.- Returns:
- the ManagedInstanceEncryptionProtectorInner object itself.
-
serverKeyType
public ServerKeyType serverKeyType()
Get the serverKeyType property: The encryption protector type like 'ServiceManaged', 'AzureKeyVault'.- Returns:
- the serverKeyType value.
-
withServerKeyType
public ManagedInstanceEncryptionProtectorInner withServerKeyType(ServerKeyType serverKeyType)
Set the serverKeyType property: The encryption protector type like 'ServiceManaged', 'AzureKeyVault'.- Parameters:
serverKeyType- the serverKeyType value to set.- Returns:
- the ManagedInstanceEncryptionProtectorInner object itself.
-
uri
public String uri()
Get the uri property: The URI of the server key.- Returns:
- the uri value.
-
thumbprint
public String thumbprint()
Get the thumbprint property: Thumbprint of the server key.- Returns:
- the thumbprint value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-