Class CustomerManagedKeyDetails
- java.lang.Object
-
- com.azure.resourcemanager.synapse.models.CustomerManagedKeyDetails
-
public final class CustomerManagedKeyDetails extends Object
Details of the customer managed key associated with the workspace.
-
-
Constructor Summary
Constructors Constructor Description CustomerManagedKeyDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KekIdentityProperties
kekIdentity()
Get the kekIdentity property: Key encryption key.WorkspaceKeyDetails
key()
Get the key property: The key object of the workspace.String
status()
Get the status property: The customer managed key status on the workspace.void
validate()
Validates the instance.CustomerManagedKeyDetails
withKekIdentity(KekIdentityProperties kekIdentity)
Set the kekIdentity property: Key encryption key.CustomerManagedKeyDetails
withKey(WorkspaceKeyDetails key)
Set the key property: The key object of the workspace.
-
-
-
Method Detail
-
status
public String status()
Get the status property: The customer managed key status on the workspace.- Returns:
- the status value.
-
key
public WorkspaceKeyDetails key()
Get the key property: The key object of the workspace.- Returns:
- the key value.
-
withKey
public CustomerManagedKeyDetails withKey(WorkspaceKeyDetails key)
Set the key property: The key object of the workspace.- Parameters:
key
- the key value to set.- Returns:
- the CustomerManagedKeyDetails object itself.
-
kekIdentity
public KekIdentityProperties kekIdentity()
Get the kekIdentity property: Key encryption key.- Returns:
- the kekIdentity value.
-
withKekIdentity
public CustomerManagedKeyDetails withKekIdentity(KekIdentityProperties kekIdentity)
Set the kekIdentity property: Key encryption key.- Parameters:
kekIdentity
- the kekIdentity value to set.- Returns:
- the CustomerManagedKeyDetails object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-