Interface CreateAiAgentVersionRequest.Builder

    • Method Detail

      • aiAgentId

        CreateAiAgentVersionRequest.Builder aiAgentId​(String aiAgentId)

        The identifier of the Amazon Q in Connect AI Agent.

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

        CreateAiAgentVersionRequest.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.
      • clientToken

        CreateAiAgentVersionRequest.Builder clientToken​(String clientToken)

        A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs..

        Parameters:
        clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs..
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • modifiedTime

        CreateAiAgentVersionRequest.Builder modifiedTime​(Instant modifiedTime)

        The modification time of the AI Agent should be tracked for version creation. This field should be specified to avoid version creation when simultaneous update to the underlying AI Agent are possible. The value should be the modifiedTime returned from the request to create or update an AI Agent so that version creation can fail if an update to the AI Agent post the specified modification time has been made.

        Parameters:
        modifiedTime - The modification time of the AI Agent should be tracked for version creation. This field should be specified to avoid version creation when simultaneous update to the underlying AI Agent are possible. The value should be the modifiedTime returned from the request to create or update an AI Agent so that version creation can fail if an update to the AI Agent post the specified modification time has been made.
        Returns:
        Returns a reference to this object so that method calls can be chained together.