Class EncryptionProperty


  • public final class EncryptionProperty
    extends Object
    The EncryptionProperty model.
    • Constructor Detail

      • EncryptionProperty

        public EncryptionProperty()
    • Method Detail

      • status

        public EncryptionStatus status()
        Get the status property: Indicates whether or not the encryption is enabled for the workspace.
        Returns:
        the status value.
      • withStatus

        public EncryptionProperty withStatus​(EncryptionStatus status)
        Set the status property: Indicates whether or not the encryption is enabled for the workspace.
        Parameters:
        status - the status value to set.
        Returns:
        the EncryptionProperty object itself.
      • identity

        public IdentityForCmk identity()
        Get the identity property: The identity that will be used to access the key vault for encryption at rest.
        Returns:
        the identity value.
      • withIdentity

        public EncryptionProperty withIdentity​(IdentityForCmk identity)
        Set the identity property: The identity that will be used to access the key vault for encryption at rest.
        Parameters:
        identity - the identity value to set.
        Returns:
        the EncryptionProperty object itself.
      • keyVaultProperties

        public EncryptionKeyVaultProperties keyVaultProperties()
        Get the keyVaultProperties property: Customer Key vault properties.
        Returns:
        the keyVaultProperties value.
      • withKeyVaultProperties

        public EncryptionProperty withKeyVaultProperties​(EncryptionKeyVaultProperties keyVaultProperties)
        Set the keyVaultProperties property: Customer Key vault properties.
        Parameters:
        keyVaultProperties - the keyVaultProperties value to set.
        Returns:
        the EncryptionProperty object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.