ManagedInstanceEncryptionProtectorInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. ManagedInstanceEncryptionProtectorInner
- com.
- com.
public final class ManagedInstanceEncryptionProtectorInner
extends ProxyResource
The managed instance encryption protector.
Constructor Summary
Constructor | Description |
---|---|
ManagedInstanceEncryptionProtectorInner() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
autoRotationEnabled()
Get the auto |
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
kind()
Get the kind property: Kind of encryption protector. |
String |
name()
Get the name property: The name of the resource. |
String |
serverKeyName()
Get the server |
Server |
serverKeyType()
Get the server |
String |
thumbprint()
Get the thumbprint property: Thumbprint of the server key. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
String |
uri()
Get the uri property: The URI of the server key. |
void |
validate()
Validates the instance. |
Managed |
withAutoRotationEnabled(Boolean autoRotationEnabled)
Set the auto |
Managed |
withServerKeyName(String serverKeyName)
Set the server |
Managed |
withServerKeyType(ServerKeyType serverKeyType)
Set the server |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ManagedInstanceEncryptionProtectorInner
public ManagedInstanceEncryptionProtectorInner()
Creates an instance of ManagedInstanceEncryptionProtectorInner 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 ManagedInstanceEncryptionProtectorInner fromJson(JsonReader jsonReader)
Reads an instance of ManagedInstanceEncryptionProtectorInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ManagedInstanceEncryptionProtectorInner.id()Returns:
kind
public String kind()
Get the kind property: Kind of encryption protector. This is metadata used for the Azure portal experience.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ManagedInstanceEncryptionProtectorInner.name()Returns:
serverKeyName
public String serverKeyName()
Get the serverKeyName property: The name of the managed instance key.
Returns:
serverKeyType
public ServerKeyType serverKeyType()
Get the serverKeyType property: The encryption protector type like 'ServiceManaged', 'AzureKeyVault'.
Returns:
thumbprint
public String thumbprint()
Get the thumbprint property: Thumbprint of the server key.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ManagedInstanceEncryptionProtectorInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ManagedInstanceEncryptionProtectorInner.type()Returns:
uri
public String uri()
Get the uri property: The URI of the server key.
Returns:
validate
public void validate()
Validates the instance.
withAutoRotationEnabled
public ManagedInstanceEncryptionProtectorInner withAutoRotationEnabled(Boolean autoRotationEnabled)
Set the autoRotationEnabled property: Key auto rotation opt-in flag. Either true or false.
Parameters:
Returns:
withServerKeyName
public ManagedInstanceEncryptionProtectorInner withServerKeyName(String serverKeyName)
Set the serverKeyName property: The name of the managed instance key.
Parameters:
Returns:
withServerKeyType
public ManagedInstanceEncryptionProtectorInner withServerKeyType(ServerKeyType serverKeyType)
Set the serverKeyType property: The encryption protector type like 'ServiceManaged', 'AzureKeyVault'.
Parameters:
Returns:
Applies to
Azure SDK for Java