Class SearchQuickResponsesRequest

    • Method Detail

      • hasAttributes

        public final boolean hasAttributes()
        For responses, this returns true if the service returned a value for the Attributes property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • knowledgeBaseId

        public final String knowledgeBaseId()

        The identifier of the knowledge base. This should be a QUICK_RESPONSES type knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.

        Returns:
        The identifier of the knowledge base. This should be a QUICK_RESPONSES type knowledge base. 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.
      • searchExpression

        public final QuickResponseSearchExpression searchExpression()

        The search expression for querying the quick response.

        Returns:
        The search expression for querying the quick response.
      • 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