public static interface CreateEventSubscriptionResponse.Builder extends DatabaseMigrationResponse.Builder, SdkPojo, 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.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, 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 method 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 © 2023. All rights reserved.