WorkspaceKeyDetails Class
- java.
lang. Object - com.
azure. resourcemanager. synapse. models. WorkspaceKeyDetails
- com.
Implements
public final class WorkspaceKeyDetails
implements JsonSerializable<WorkspaceKeyDetails>
Details of the customer managed key associated with the workspace.
Constructor Summary
| Constructor | Description |
|---|---|
| WorkspaceKeyDetails() |
Creates an instance of Workspace |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Workspace |
fromJson(JsonReader jsonReader)
Reads an instance of Workspace |
| String |
keyVaultUrl()
Get the key |
| String |
name()
Get the name property: Workspace Key sub-resource name. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Workspace |
withKeyVaultUrl(String keyVaultUrl)
Set the key |
|
Workspace |
withName(String name)
Set the name property: Workspace Key sub-resource name. |
Methods inherited from java.lang.Object
Constructor Details
WorkspaceKeyDetails
public WorkspaceKeyDetails()
Creates an instance of WorkspaceKeyDetails class.
Method Details
fromJson
public static WorkspaceKeyDetails fromJson(JsonReader jsonReader)
Reads an instance of WorkspaceKeyDetails from the JsonReader.
Parameters:
Returns:
Throws:
keyVaultUrl
public String keyVaultUrl()
Get the keyVaultUrl property: Workspace Key sub-resource key vault url.
Returns:
name
public String name()
Get the name property: Workspace Key sub-resource name.
Returns:
toJson
validate
public void validate()
Validates the instance.
withKeyVaultUrl
public WorkspaceKeyDetails withKeyVaultUrl(String keyVaultUrl)
Set the keyVaultUrl property: Workspace Key sub-resource key vault url.
Parameters:
Returns:
withName
public WorkspaceKeyDetails withName(String name)
Set the name property: Workspace Key sub-resource name.
Parameters:
Returns: