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 Details

    • CustomerManagedKeyDetails

      public CustomerManagedKeyDetails()
      Creates an instance of CustomerManagedKeyDetails class.
  • Method Details

    • 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

      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.