public static interface DescribeEventsResponse.Builder extends MemoryDbResponse.Builder, SdkPojo, CopyableBuilder<DescribeEventsResponse.Builder,DescribeEventsResponse>
| Modifier and Type | Method and Description |
|---|---|
DescribeEventsResponse.Builder |
events(Collection<Event> events)
A list of events.
|
DescribeEventsResponse.Builder |
events(Consumer<Event.Builder>... events)
A list of events.
|
DescribeEventsResponse.Builder |
events(Event... events)
A list of events.
|
DescribeEventsResponse.Builder |
nextToken(String nextToken)
An optional argument to pass in case the total number of records exceeds the value of MaxResults.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeEventsResponse.Builder nextToken(String nextToken)
An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
nextToken - An optional argument to pass in case the total number of records exceeds the value of MaxResults. If
nextToken is returned, there are more results available. The value of nextToken is a unique pagination
token for each page. Make the call again using the returned token to retrieve the next page. Keep all
other arguments unchanged.DescribeEventsResponse.Builder events(Collection<Event> events)
A list of events. Each element in the list contains detailed information about one event.
events - A list of events. Each element in the list contains detailed information about one event.DescribeEventsResponse.Builder events(Event... events)
A list of events. Each element in the list contains detailed information about one event.
events - A list of events. Each element in the list contains detailed information about one event.DescribeEventsResponse.Builder events(Consumer<Event.Builder>... events)
A list of events. Each element in the list contains detailed information about one event.
This is a convenience method that creates an instance of theEvent.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.
events - a consumer that will call methods on
Event.Builder#events(java.util.Collection) Copyright © 2022. All rights reserved.