public static interface DescribeEventsResponse.Builder extends ElastiCacheResponse.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 |
marker(String marker)
Provides an identifier to allow retrieval of paginated results.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeEventsResponse.Builder marker(String marker)
Provides an identifier to allow retrieval of paginated results.
marker - Provides an identifier to allow retrieval of paginated results.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 © 2023. All rights reserved.