Interface SourceAuth.Builder

    • Method Detail

      • type

        SourceAuth.Builder type​(String type)

        The authorization type to use. Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER.

        Parameters:
        type - The authorization type to use. Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SourceAuthType, SourceAuthType
      • type

        SourceAuth.Builder type​(SourceAuthType type)

        The authorization type to use. Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER.

        Parameters:
        type - The authorization type to use. Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SourceAuthType, SourceAuthType
      • resource

        SourceAuth.Builder resource​(String resource)

        The resource value that applies to the specified authorization type.

        Parameters:
        resource - The resource value that applies to the specified authorization type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.