Class CreateQuerySpecification


  • public class CreateQuerySpecification
    extends java.lang.Object
    Information required to create the query.
    • Constructor Detail

      • CreateQuerySpecification

        public CreateQuerySpecification()
    • Method Detail

      • getQuery

        public java.lang.String getQuery()
        The GraphQL query to submit. A query must be at most 8000 characters after unnecessary whitespace is removed.
        Returns:
        query
      • setQuery

        public void setQuery​(java.lang.String query)
      • getPaginationToken

        public java.lang.String getPaginationToken()
        A token to fetch a certain page of query results when there are multiple pages of query results available. The value of this token must be fetched from the `pagination.nextToken` field of the `Query` object, and the `query` field for this object must also be set to the `query` field of the same `Query` object. A `Query` object can be retrieved from either the `getQueries` or `getQuery` operation. In the absence of this token value, the first page of query results will be requested.
        Returns:
        paginationToken
      • setPaginationToken

        public void setPaginationToken​(java.lang.String paginationToken)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object