Class CmkIdentityDefinition


  • public final class CmkIdentityDefinition
    extends Object
    Managed Identity used for CMK.
    • Constructor Detail

      • CmkIdentityDefinition

        public CmkIdentityDefinition()
    • Method Detail

      • userAssignedIdentity

        public String userAssignedIdentity()
        Get the userAssignedIdentity property: The resource id of the user assigned identity to authenticate to customer's key vault.
        Returns:
        the userAssignedIdentity value.
      • withUserAssignedIdentity

        public CmkIdentityDefinition withUserAssignedIdentity​(String userAssignedIdentity)
        Set the userAssignedIdentity property: The resource id of the user assigned identity to authenticate to customer's key vault.
        Parameters:
        userAssignedIdentity - the userAssignedIdentity value to set.
        Returns:
        the CmkIdentityDefinition object itself.
      • validate

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