EncryptionProtectorProperties Class
- java.
lang. Object - com.
azure. resourcemanager. sql. fluent. models. EncryptionProtectorProperties
- com.
Implements
public final class EncryptionProtectorProperties
implements JsonSerializable<EncryptionProtectorProperties>
Properties for an encryption protector execution.
Constructor Summary
| Constructor | Description |
|---|---|
| EncryptionProtectorProperties() |
Creates an instance of Encryption |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
autoRotationEnabled()
Get the auto |
|
static
Encryption |
fromJson(JsonReader jsonReader)
Reads an instance of Encryption |
| String |
serverKeyName()
Get the server |
|
Server |
serverKeyType()
Get the server |
| String |
subregion()
Get the subregion property: Subregion of the encryption protector. |
| String |
thumbprint()
Get the thumbprint property: Thumbprint of the server key. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
uri()
Get the uri property: The URI of the server key. |
| void |
validate()
Validates the instance. |
|
Encryption |
withAutoRotationEnabled(Boolean autoRotationEnabled)
Set the auto |
|
Encryption |
withServerKeyName(String serverKeyName)
Set the server |
|
Encryption |
withServerKeyType(ServerKeyType serverKeyType)
Set the server |
Methods inherited from java.lang.Object
Constructor Details
EncryptionProtectorProperties
public EncryptionProtectorProperties()
Creates an instance of EncryptionProtectorProperties class.
Method Details
autoRotationEnabled
public Boolean autoRotationEnabled()
Get the autoRotationEnabled property: Key auto rotation opt-in flag. Either true or false.
Returns:
fromJson
public static EncryptionProtectorProperties fromJson(JsonReader jsonReader)
Reads an instance of EncryptionProtectorProperties from the JsonReader.
Parameters:
Returns:
Throws:
serverKeyName
public String serverKeyName()
Get the serverKeyName property: The name of the server key.
Returns:
serverKeyType
public ServerKeyType serverKeyType()
Get the serverKeyType property: The encryption protector type like 'ServiceManaged', 'AzureKeyVault'.
Returns:
subregion
public String subregion()
Get the subregion property: Subregion of the encryption protector.
Returns:
thumbprint
public String thumbprint()
Get the thumbprint property: Thumbprint of the server key.
Returns:
toJson
uri
public String uri()
Get the uri property: The URI of the server key.
Returns:
validate
public void validate()
Validates the instance.
withAutoRotationEnabled
public EncryptionProtectorProperties withAutoRotationEnabled(Boolean autoRotationEnabled)
Set the autoRotationEnabled property: Key auto rotation opt-in flag. Either true or false.
Parameters:
Returns:
withServerKeyName
public EncryptionProtectorProperties withServerKeyName(String serverKeyName)
Set the serverKeyName property: The name of the server key.
Parameters:
Returns:
withServerKeyType
public EncryptionProtectorProperties withServerKeyType(ServerKeyType serverKeyType)
Set the serverKeyType property: The encryption protector type like 'ServiceManaged', 'AzureKeyVault'.
Parameters:
Returns: