public static interface ModifyEventSubscriptionResponse.Builder extends RedshiftResponse.Builder, CopyableBuilder<ModifyEventSubscriptionResponse.Builder,ModifyEventSubscriptionResponse>
Modifier and Type | Method and Description |
---|---|
default ModifyEventSubscriptionResponse.Builder |
eventSubscription(Consumer<EventSubscription.Builder> eventSubscription)
Sets the value of the EventSubscription property for this object.
|
ModifyEventSubscriptionResponse.Builder |
eventSubscription(EventSubscription eventSubscription)
Sets the value of the EventSubscription property for this object.
|
build
copy
apply, build
ModifyEventSubscriptionResponse.Builder eventSubscription(EventSubscription eventSubscription)
eventSubscription
- The new value for the EventSubscription property for this object.default ModifyEventSubscriptionResponse.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.