WorkspaceKeyDetails Class

  • java.lang.Object
    • com.azure.resourcemanager.synapse.models.WorkspaceKeyDetails

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 WorkspaceKeyDetails class.

Method Summary

Modifier and Type Method and Description
static WorkspaceKeyDetails fromJson(JsonReader jsonReader)

Reads an instance of WorkspaceKeyDetails from the JsonReader.

String keyVaultUrl()

Get the keyVaultUrl property: Workspace Key sub-resource key vault url.

String name()

Get the name property: Workspace Key sub-resource name.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

WorkspaceKeyDetails withKeyVaultUrl(String keyVaultUrl)

Set the keyVaultUrl property: Workspace Key sub-resource key vault url.

WorkspaceKeyDetails 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:

jsonReader - The JsonReader being read.

Returns:

An instance of WorkspaceKeyDetails if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the WorkspaceKeyDetails.

keyVaultUrl

public String keyVaultUrl()

Get the keyVaultUrl property: Workspace Key sub-resource key vault url.

Returns:

the keyVaultUrl value.

name

public String name()

Get the name property: Workspace Key sub-resource name.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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:

keyVaultUrl - the keyVaultUrl value to set.

Returns:

the WorkspaceKeyDetails object itself.

withName

public WorkspaceKeyDetails withName(String name)

Set the name property: Workspace Key sub-resource name.

Parameters:

name - the name value to set.

Returns:

the WorkspaceKeyDetails object itself.

Applies to