Interface DescribeEventSubscriptionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeEventSubscriptionsResponse.Builder,
,DescribeEventSubscriptionsResponse> DocDbResponse.Builder
,SdkBuilder<DescribeEventSubscriptionsResponse.Builder,
,DescribeEventSubscriptionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeEventSubscriptionsResponse
public static interface DescribeEventSubscriptionsResponse.Builder
extends DocDbResponse.Builder, SdkPojo, CopyableBuilder<DescribeEventSubscriptionsResponse.Builder,DescribeEventSubscriptionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioneventSubscriptionsList
(Collection<EventSubscription> eventSubscriptionsList) A list of event subscriptions.eventSubscriptionsList
(Consumer<EventSubscription.Builder>... eventSubscriptionsList) A list of event subscriptions.eventSubscriptionsList
(EventSubscription... eventSubscriptionsList) A list of event subscriptions.An optional pagination token provided by a previous request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.docdb.model.DocDbResponse.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 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 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.
-
eventSubscriptionsList
DescribeEventSubscriptionsResponse.Builder eventSubscriptionsList(Collection<EventSubscription> eventSubscriptionsList) A list of event subscriptions.
- Parameters:
eventSubscriptionsList
- A list of event subscriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventSubscriptionsList
DescribeEventSubscriptionsResponse.Builder eventSubscriptionsList(EventSubscription... eventSubscriptionsList) A list of event subscriptions.
- Parameters:
eventSubscriptionsList
- A list of event subscriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventSubscriptionsList
DescribeEventSubscriptionsResponse.Builder eventSubscriptionsList(Consumer<EventSubscription.Builder>... eventSubscriptionsList) A list of event subscriptions.
This is a convenience method that creates an instance of theEventSubscription.Builder
avoiding the need to create one manually viaEventSubscription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeventSubscriptionsList(List<EventSubscription>)
.- Parameters:
eventSubscriptionsList
- a consumer that will call methods onEventSubscription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-