Class ManagedIdentityCredential


  • public final class ManagedIdentityCredential
    extends Credential
    Managed identity credential.
    • Constructor Detail

      • ManagedIdentityCredential

        public ManagedIdentityCredential()
    • Method Detail

      • withDescription

        public ManagedIdentityCredential withDescription​(String description)
        Set the description property: Credential description.
        Overrides:
        withDescription in class Credential
        Parameters:
        description - the description value to set.
        Returns:
        the Credential object itself.
      • withAnnotations

        public ManagedIdentityCredential withAnnotations​(List<Object> annotations)
        Set the annotations property: List of tags that can be used for describing the Credential.
        Overrides:
        withAnnotations in class Credential
        Parameters:
        annotations - the annotations value to set.
        Returns:
        the Credential object itself.
      • resourceId

        public String resourceId()
        Get the resourceId property: The resource id of user assigned managed identity.
        Returns:
        the resourceId value.
      • withResourceId

        public ManagedIdentityCredential withResourceId​(String resourceId)
        Set the resourceId property: The resource id of user assigned managed identity.
        Parameters:
        resourceId - the resourceId value to set.
        Returns:
        the ManagedIdentityCredential object itself.