Interface GetResourceActivitiesQueryResultsResponse.Builder

  • Method Details

    • status

      The status of the query. Valid values:

      • COMPLETE – The query finished, and the results are available.

      • EXPIRED – The query and its results are no longer available. Start a new query.

      • FAILED – The query failed, and no results are available.

      • RUNNING – The query is still running. Call the operation again later.

      Parameters:
      status - The status of the query. Valid values:

      • COMPLETE – The query finished, and the results are available.

      • EXPIRED – The query and its results are no longer available. Start a new query.

      • FAILED – The query failed, and no results are available.

      • RUNNING – The query is still running. Call the operation again later.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the query. Valid values:

      • COMPLETE – The query finished, and the results are available.

      • EXPIRED – The query and its results are no longer available. Start a new query.

      • FAILED – The query failed, and no results are available.

      • RUNNING – The query is still running. Call the operation again later.

      Parameters:
      status - The status of the query. Valid values:

      • COMPLETE – The query finished, and the results are available.

      • EXPIRED – The query and its results are no longer available. Start a new query.

      • FAILED – The query failed, and no results are available.

      • RUNNING – The query is still running. Call the operation again later.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • entries

      A page of query results. The response includes this field only when status is COMPLETE and the query found activity.

      Parameters:
      entries - A page of query results. The response includes this field only when status is COMPLETE and the query found activity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entries

      A page of query results. The response includes this field only when status is COMPLETE and the query found activity.

      Parameters:
      entries - A page of query results. The response includes this field only when status is COMPLETE and the query found activity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entries

      A page of query results. The response includes this field only when status is COMPLETE and the query found activity.

      This is a convenience method that creates an instance of the ResourceActivitiesEntry.Builder avoiding the need to create one manually via ResourceActivitiesEntry.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to entries(List<ResourceActivitiesEntry>).

      Parameters:
      entries - a consumer that will call methods on ResourceActivitiesEntry.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      The pagination token for the next page of results. The response includes this field only when status is COMPLETE and more results are available.

      Parameters:
      nextToken - The pagination token for the next page of results. The response includes this field only when status is COMPLETE and more results are available.
      Returns:
      Returns a reference to this object so that method calls can be chained together.