Class KeyProperties
- java.lang.Object
-
- com.azure.resourcemanager.synapse.fluent.models.KeyProperties
-
public final class KeyProperties extends Object
Key properties.
-
-
Constructor Summary
Constructors Constructor Description KeyProperties()
-
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.KeyProperties
withIsActiveCmk(Boolean isActiveCmk)
Set the isActiveCmk property: Used to activate the workspace after a customer managed key is provided.KeyProperties
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 KeyProperties 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 KeyProperties object itself.
-
keyVaultUrl
public String keyVaultUrl()
Get the keyVaultUrl property: The Key Vault Url of the workspace key.- Returns:
- the keyVaultUrl value.
-
withKeyVaultUrl
public KeyProperties withKeyVaultUrl(String keyVaultUrl)
Set the keyVaultUrl property: The Key Vault Url of the workspace key.- Parameters:
keyVaultUrl
- the keyVaultUrl value to set.- Returns:
- the KeyProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-