Class GetRecommendationsRequest

    • Method Detail

      • assistantId

        public final String assistantId()

        The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

        Returns:
        The identifier of the Wisdom 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.
      • sessionId

        public final String sessionId()

        The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.

        Returns:
        The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.
      • waitTimeSeconds

        public final Integer waitTimeSeconds()

        The duration (in seconds) for which the call waits for a recommendation to be made available before returning. If a recommendation is available, the call returns sooner than WaitTimeSeconds. If no messages are available and the wait time expires, the call returns successfully with an empty list.

        Returns:
        The duration (in seconds) for which the call waits for a recommendation to be made available before returning. If a recommendation is available, the call returns sooner than WaitTimeSeconds. If no messages are available and the wait time expires, the call returns successfully with an empty list.
      • 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