public static interface CreateEventSubscriptionResponse.Builder extends DatabaseMigrationResponse.Builder, CopyableBuilder<CreateEventSubscriptionResponse.Builder,CreateEventSubscriptionResponse>
| Modifier and Type | Method and Description |
|---|---|
default CreateEventSubscriptionResponse.Builder |
eventSubscription(Consumer<EventSubscription.Builder> eventSubscription)
The event subscription that was created.
|
CreateEventSubscriptionResponse.Builder |
eventSubscription(EventSubscription eventSubscription)
The event subscription that was created.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildCreateEventSubscriptionResponse.Builder eventSubscription(EventSubscription eventSubscription)
The event subscription that was created.
eventSubscription - The event subscription that was created.default CreateEventSubscriptionResponse.Builder eventSubscription(Consumer<EventSubscription.Builder> eventSubscription)
The event subscription that was created.
This is a convenience that creates an instance of theEventSubscription.Builder avoiding the need to
create one manually via EventSubscription.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to eventSubscription(EventSubscription).eventSubscription - a consumer that will call methods on EventSubscription.BuildereventSubscription(EventSubscription)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.