Class Query


  • public class Query
    extends java.lang.Object
    Detailed information about the query.
    • Constructor Detail

      • Query

        public Query()
    • Method Detail

      • queryId

        public Query queryId​(java.lang.String queryId)
      • getQueryId

        public java.lang.String getQueryId()
        The query identifier. This identifier is unique only in combination with a selling partner account ID.
        Returns:
        queryId
      • setQueryId

        public void setQueryId​(java.lang.String queryId)
      • query

        public Query query​(java.lang.String query)
      • getQuery

        public java.lang.String getQuery()
        The submitted query.
        Returns:
        query
      • setQuery

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

        public Query createdTime​(org.threeten.bp.OffsetDateTime createdTime)
      • getCreatedTime

        public org.threeten.bp.OffsetDateTime getCreatedTime()
        The date and time when the query was created, in ISO 8601 date time format.
        Returns:
        createdTime
      • setCreatedTime

        public void setCreatedTime​(org.threeten.bp.OffsetDateTime createdTime)
      • getProcessingStatus

        public Query.ProcessingStatusEnum getProcessingStatus()
        The processing status of the query.
        Returns:
        processingStatus
      • processingStartTime

        public Query processingStartTime​(org.threeten.bp.OffsetDateTime processingStartTime)
      • getProcessingStartTime

        public org.threeten.bp.OffsetDateTime getProcessingStartTime()
        The date and time when the query processing started, in ISO 8601 date time format.
        Returns:
        processingStartTime
      • setProcessingStartTime

        public void setProcessingStartTime​(org.threeten.bp.OffsetDateTime processingStartTime)
      • processingEndTime

        public Query processingEndTime​(org.threeten.bp.OffsetDateTime processingEndTime)
      • getProcessingEndTime

        public org.threeten.bp.OffsetDateTime getProcessingEndTime()
        The date and time when the query processing completed, in ISO 8601 date time format.
        Returns:
        processingEndTime
      • setProcessingEndTime

        public void setProcessingEndTime​(org.threeten.bp.OffsetDateTime processingEndTime)
      • dataDocumentId

        public Query dataDocumentId​(java.lang.String dataDocumentId)
      • getDataDocumentId

        public java.lang.String getDataDocumentId()
        The data document identifier. This identifier is only present when there is data available as a result of the query. This identifier is unique only in combination with a selling partner account ID. Pass this identifier into the `getDocument` operation to get the information required to retrieve the data document's contents.
        Returns:
        dataDocumentId
      • setDataDocumentId

        public void setDataDocumentId​(java.lang.String dataDocumentId)
      • errorDocumentId

        public Query errorDocumentId​(java.lang.String errorDocumentId)
      • getErrorDocumentId

        public java.lang.String getErrorDocumentId()
        The error document identifier. This identifier is only present when an error occurs during query processing. This identifier is unique only in combination with a selling partner account ID. Pass this identifier into the `getDocument` operation to get the information required to retrieve the error document's contents.
        Returns:
        errorDocumentId
      • setErrorDocumentId

        public void setErrorDocumentId​(java.lang.String errorDocumentId)
      • getPagination

        public QueryPagination getPagination()
        Get pagination
        Returns:
        pagination
      • setPagination

        public void setPagination​(QueryPagination pagination)
      • 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