Interface DescribeEventsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<DescribeEventsResponse.Builder,DescribeEventsResponse>, HealthResponse.Builder, SdkBuilder<DescribeEventsResponse.Builder,DescribeEventsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
DescribeEventsResponse

public static interface DescribeEventsResponse.Builder extends HealthResponse.Builder, SdkPojo, CopyableBuilder<DescribeEventsResponse.Builder,DescribeEventsResponse>
  • Method Details

    • events

      The events that match the specified filter criteria.

      Parameters:
      events - The events that match the specified filter criteria.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • events

      The events that match the specified filter criteria.

      Parameters:
      events - The events that match the specified filter criteria.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • events

      The events that match the specified filter criteria.

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

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

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

      DescribeEventsResponse.Builder nextToken(String nextToken)

      If the results of a search are large, only a portion of the results are returned, and a nextToken pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.

      Parameters:
      nextToken - If the results of a search are large, only a portion of the results are returned, and a nextToken pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.