ManagedInstanceKeyProperties Class
- java.
lang. Object - com.
azure. resourcemanager. sql. fluent. models. ManagedInstanceKeyProperties
- com.
Implements
public final class ManagedInstanceKeyProperties
implements JsonSerializable<ManagedInstanceKeyProperties>
Properties for a key execution.
Constructor Summary
| Constructor | Description |
|---|---|
| ManagedInstanceKeyProperties() |
Creates an instance of Managed |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
autoRotationEnabled()
Get the auto |
|
Offset |
creationDate()
Get the creation |
|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
|
Server |
serverKeyType()
Get the server |
| String |
thumbprint()
Get the thumbprint property: Thumbprint of the key. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
uri()
Get the uri property: The URI of the key. |
| void |
validate()
Validates the instance. |
|
Managed |
withServerKeyType(ServerKeyType serverKeyType)
Set the server |
|
Managed |
withUri(String uri)
Set the uri property: The URI of the key. |
Methods inherited from java.lang.Object
Constructor Details
ManagedInstanceKeyProperties
public ManagedInstanceKeyProperties()
Creates an instance of ManagedInstanceKeyProperties class.
Method Details
autoRotationEnabled
public Boolean autoRotationEnabled()
Get the autoRotationEnabled property: Key auto rotation opt-in flag. Either true or false.
Returns:
creationDate
public OffsetDateTime creationDate()
Get the creationDate property: The key creation date.
Returns:
fromJson
public static ManagedInstanceKeyProperties fromJson(JsonReader jsonReader)
Reads an instance of ManagedInstanceKeyProperties from the JsonReader.
Parameters:
Returns:
Throws:
serverKeyType
public ServerKeyType serverKeyType()
Get the serverKeyType property: The key type like 'ServiceManaged', 'AzureKeyVault'.
Returns:
thumbprint
public String thumbprint()
Get the thumbprint property: Thumbprint of the key.
Returns:
toJson
uri
public String uri()
Get the uri property: The URI of the key. If the ServerKeyType is AzureKeyVault, then the URI is required.
Returns:
validate
public void validate()
Validates the instance.
withServerKeyType
public ManagedInstanceKeyProperties withServerKeyType(ServerKeyType serverKeyType)
Set the serverKeyType property: The key type like 'ServiceManaged', 'AzureKeyVault'.
Parameters:
Returns:
withUri
public ManagedInstanceKeyProperties withUri(String uri)
Set the uri property: The URI of the key. If the ServerKeyType is AzureKeyVault, then the URI is required.
Parameters:
Returns: