Interface DescribeEventsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeEventsResponse.Builder,
,DescribeEventsResponse> RdsResponse.Builder
,SdkBuilder<DescribeEventsResponse.Builder,
,DescribeEventsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeEventsResponse
public static interface DescribeEventsResponse.Builder
extends RdsResponse.Builder, SdkPojo, CopyableBuilder<DescribeEventsResponse.Builder,DescribeEventsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionevents
(Collection<Event> events) A list ofEvent
instances.events
(Consumer<Event.Builder>... events) A list ofEvent
instances.A list ofEvent
instances.An optional pagination token provided by a previous Events request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.rds.model.RdsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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 byMaxRecords
.- 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 ofEvent
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 ofEvent
instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
A list of
This is a convenience method that creates an instance of theEvent
instances.Event.Builder
avoiding the need to create one manually viaEvent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toevents(List<Event>)
.- Parameters:
events
- a consumer that will call methods onEvent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-