Class KeyInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.synapse.fluent.models.KeyInner
-
public final class KeyInner extends com.azure.core.management.ProxyResource
A workspace key.
-
-
Constructor Summary
Constructors Constructor Description KeyInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
isActiveCmk()
Get the isActiveCmk property: Used to activate the workspace after a customer managed key is provided.String
keyVaultUrl()
Get the keyVaultUrl property: The Key Vault Url of the workspace key.void
validate()
Validates the instance.KeyInner
withIsActiveCmk(Boolean isActiveCmk)
Set the isActiveCmk property: Used to activate the workspace after a customer managed key is provided.KeyInner
withKeyVaultUrl(String keyVaultUrl)
Set the keyVaultUrl property: The Key Vault Url of the workspace key.
-
-
-
Method Detail
-
isActiveCmk
public Boolean isActiveCmk()
Get the isActiveCmk property: Used to activate the workspace after a customer managed key is provided.- Returns:
- the isActiveCmk value.
-
withIsActiveCmk
public KeyInner withIsActiveCmk(Boolean isActiveCmk)
Set the isActiveCmk property: Used to activate the workspace after a customer managed key is provided.- Parameters:
isActiveCmk
- the isActiveCmk value to set.- Returns:
- the KeyInner object itself.
-
keyVaultUrl
public String keyVaultUrl()
Get the keyVaultUrl property: The Key Vault Url of the workspace key.- Returns:
- the keyVaultUrl value.
-
withKeyVaultUrl
public KeyInner withKeyVaultUrl(String keyVaultUrl)
Set the keyVaultUrl property: The Key Vault Url of the workspace key.- Parameters:
keyVaultUrl
- the keyVaultUrl value to set.- Returns:
- the KeyInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-