Interface DescribeEventsResponse.Builder

  • Method Details

    • operationEvents

      DescribeEventsResponse.Builder operationEvents(Collection<OperationEvent> operationEvents)

      A list of operation events that match the specified criteria.

      Parameters:
      operationEvents - A list of operation events that match the specified criteria.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • operationEvents

      DescribeEventsResponse.Builder operationEvents(OperationEvent... operationEvents)

      A list of operation events that match the specified criteria.

      Parameters:
      operationEvents - A list of operation events that match the specified criteria.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • operationEvents

      DescribeEventsResponse.Builder operationEvents(Consumer<OperationEvent.Builder>... operationEvents)

      A list of operation events that match the specified criteria.

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

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

      Parameters:
      operationEvents - a consumer that will call methods on OperationEvent.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 request doesn't return all the remaining results, NextToken is set to a token. To retrieve the next set of results, call DescribeEvents again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null.

      Parameters:
      nextToken - If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve the next set of results, call DescribeEvents again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null.
      Returns:
      Returns a reference to this object so that method calls can be chained together.