Class CustomerManagedKeyDetails


  • public final class CustomerManagedKeyDetails
    extends Object
    Details of the customer managed key associated with the workspace.
    • Constructor Detail

      • CustomerManagedKeyDetails

        public CustomerManagedKeyDetails()
    • 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.