Class ManagedIdentityCredentialBuilder

    • Constructor Detail

      • ManagedIdentityCredentialBuilder

        public ManagedIdentityCredentialBuilder()
    • Method Detail

      • clientId

        public ManagedIdentityCredentialBuilder clientId​(String clientId)
        Specifies the client ID of user assigned or system assigned identity. Only one of clientId and resourceId can be specified.
        Parameters:
        clientId - the client ID
        Returns:
        the ManagedIdentityCredentialBuilder itself
      • resourceId

        public ManagedIdentityCredentialBuilder resourceId​(String resourceId)
        Specifies the resource ID of a user assigned or system assigned identity. Only one of clientId and resourceId can be specified.
        Parameters:
        resourceId - the resource ID
        Returns:
        the ManagedIdentityCredentialBuilder itself