Interface DescribeEventsResponse.Builder

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

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

    • marker

      An optional pagination token provided by a previous Events request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords .

      Parameters:
      marker - An optional pagination token provided by a previous Events request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords .
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • events

      A list of Event instances.

      Parameters:
      events - A list of Event instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • events

      A list of Event instances.

      Parameters:
      events - A list of Event instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • events

      A list of Event instances.

      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: