public static interface CreateEventSubscriptionResponse.Builder extends RDSResponse.Builder, CopyableBuilder<CreateEventSubscriptionResponse.Builder,CreateEventSubscriptionResponse>
Modifier and Type | Method and Description |
---|---|
default CreateEventSubscriptionResponse.Builder |
eventSubscription(Consumer<EventSubscription.Builder> eventSubscription)
Sets the value of the EventSubscription property for this object.
|
CreateEventSubscriptionResponse.Builder |
eventSubscription(EventSubscription eventSubscription)
Sets the value of the EventSubscription property for this object.
|
build
copy
apply, build
CreateEventSubscriptionResponse.Builder eventSubscription(EventSubscription eventSubscription)
eventSubscription
- The new value for the EventSubscription property for this object.default CreateEventSubscriptionResponse.Builder eventSubscription(Consumer<EventSubscription.Builder> eventSubscription)
EventSubscription.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.Builder
eventSubscription(EventSubscription)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.