Class IdentityForCmk


  • public final class IdentityForCmk
    extends Object
    Identity that will be used to access key vault for encryption at rest.
    • Constructor Detail

      • IdentityForCmk

        public IdentityForCmk()
    • Method Detail

      • userAssignedIdentity

        public String userAssignedIdentity()
        Get the userAssignedIdentity property: The ArmId of the user assigned identity that will be used to access the customer managed key vault.
        Returns:
        the userAssignedIdentity value.
      • withUserAssignedIdentity

        public IdentityForCmk withUserAssignedIdentity​(String userAssignedIdentity)
        Set the userAssignedIdentity property: The ArmId of the user assigned identity that will be used to access the customer managed key vault.
        Parameters:
        userAssignedIdentity - the userAssignedIdentity value to set.
        Returns:
        the IdentityForCmk object itself.
      • validate

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