Class EncryptionProtectorInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.synapse.fluent.models.EncryptionProtectorInner
-
public final class EncryptionProtectorInner extends com.azure.core.management.ProxyResource
The server encryption protector.
-
-
Constructor Summary
Constructors Constructor Description EncryptionProtectorInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
kind()
Get the kind property: Kind of encryption protector.String
location()
Get the location property: Resource location.String
serverKeyName()
Get the serverKeyName property: The name of the server key.ServerKeyType
serverKeyType()
Get the serverKeyType property: The encryption protector type like 'ServiceManaged', 'AzureKeyVault'.String
subregion()
Get the subregion property: Subregion of the encryption protector.String
thumbprint()
Get the thumbprint property: Thumbprint of the server key.String
uri()
Get the uri property: The URI of the server key.void
validate()
Validates the instance.EncryptionProtectorInner
withServerKeyName(String serverKeyName)
Set the serverKeyName property: The name of the server key.EncryptionProtectorInner
withServerKeyType(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.
-
location
public String location()
Get the location property: Resource location.- Returns:
- the location value.
-
subregion
public String subregion()
Get the subregion property: Subregion of the encryption protector.- Returns:
- the subregion value.
-
serverKeyName
public String serverKeyName()
Get the serverKeyName property: The name of the server key.- Returns:
- the serverKeyName value.
-
withServerKeyName
public EncryptionProtectorInner withServerKeyName(String serverKeyName)
Set the serverKeyName property: The name of the server key.- Parameters:
serverKeyName
- the serverKeyName value to set.- Returns:
- the EncryptionProtectorInner object itself.
-
serverKeyType
public ServerKeyType serverKeyType()
Get the serverKeyType property: The encryption protector type like 'ServiceManaged', 'AzureKeyVault'.- Returns:
- the serverKeyType value.
-
withServerKeyType
public EncryptionProtectorInner withServerKeyType(ServerKeyType serverKeyType)
Set the serverKeyType property: The encryption protector type like 'ServiceManaged', 'AzureKeyVault'.- Parameters:
serverKeyType
- the serverKeyType value to set.- Returns:
- the EncryptionProtectorInner 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.
-
-