Class ListAiAgentVersionsRequest

    • Method Detail

      • aiAgentId

        public final String aiAgentId()

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

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

        public final String assistantId()

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

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

        public final Integer maxResults()

        The maximum number of results to return per page.

        Returns:
        The maximum number of results to return per page.
      • nextToken

        public final 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.

        Returns:
        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.
      • origin

        public final 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.

        If the service returns an enum value that is not available in the current SDK version, origin will return Origin.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from originAsString().

        Returns:
        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.
        See Also:
        Origin
      • originAsString

        public final String originAsString()

        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.

        If the service returns an enum value that is not available in the current SDK version, origin will return Origin.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from originAsString().

        Returns:
        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.
        See Also:
        Origin
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object