Class KekIdentityProperties


  • public final class KekIdentityProperties
    extends Object
    Key encryption key properties.
    • Constructor Detail

      • KekIdentityProperties

        public KekIdentityProperties()
    • Method Detail

      • userAssignedIdentity

        public String userAssignedIdentity()
        Get the userAssignedIdentity property: User assigned identity resource Id.
        Returns:
        the userAssignedIdentity value.
      • withUserAssignedIdentity

        public KekIdentityProperties withUserAssignedIdentity​(String userAssignedIdentity)
        Set the userAssignedIdentity property: User assigned identity resource Id.
        Parameters:
        userAssignedIdentity - the userAssignedIdentity value to set.
        Returns:
        the KekIdentityProperties object itself.
      • useSystemAssignedIdentity

        public Object useSystemAssignedIdentity()
        Get the useSystemAssignedIdentity property: Boolean specifying whether to use system assigned identity or not.
        Returns:
        the useSystemAssignedIdentity value.
      • withUseSystemAssignedIdentity

        public KekIdentityProperties withUseSystemAssignedIdentity​(Object useSystemAssignedIdentity)
        Set the useSystemAssignedIdentity property: Boolean specifying whether to use system assigned identity or not.
        Parameters:
        useSystemAssignedIdentity - the useSystemAssignedIdentity value to set.
        Returns:
        the KekIdentityProperties object itself.
      • validate

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