Interface ListAiAgentVersionsRequest.Builder

    • Method Detail

      • aiAgentId

        ListAiAgentVersionsRequest.Builder aiAgentId​(String aiAgentId)

        The identifier of the Amazon Q in Connect AI Agent for which versions are to be listed.

        Parameters:
        aiAgentId - The identifier of the Amazon Q in Connect AI Agent for which versions are to be listed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • assistantId

        ListAiAgentVersionsRequest.Builder assistantId​(String assistantId)

        The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

        Parameters:
        assistantId - The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        ListAiAgentVersionsRequest.Builder maxResults​(Integer maxResults)

        The maximum number of results to return per page.

        Parameters:
        maxResults - The maximum number of results to return per page.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListAiAgentVersionsRequest.Builder nextToken​(String nextToken)

        The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

        Parameters:
        nextToken - The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • origin

        ListAiAgentVersionsRequest.Builder origin​(String origin)

        The origin of the AI Agent versions to be listed. SYSTEM for a default AI Agent created by Q in Connect or CUSTOMER for an AI Agent created by calling AI Agent creation APIs.

        Parameters:
        origin - The origin of the AI Agent versions to be listed. SYSTEM for a default AI Agent created by Q in Connect or CUSTOMER for an AI Agent created by calling AI Agent creation APIs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Origin, Origin
      • origin

        ListAiAgentVersionsRequest.Builder origin​(Origin origin)

        The origin of the AI Agent versions to be listed. SYSTEM for a default AI Agent created by Q in Connect or CUSTOMER for an AI Agent created by calling AI Agent creation APIs.

        Parameters:
        origin - The origin of the AI Agent versions to be listed. SYSTEM for a default AI Agent created by Q in Connect or CUSTOMER for an AI Agent created by calling AI Agent creation APIs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Origin, Origin