public static interface AddSourceIdentifierToSubscriptionResponse.Builder extends RdsResponse.Builder, SdkPojo, CopyableBuilder<AddSourceIdentifierToSubscriptionResponse.Builder,AddSourceIdentifierToSubscriptionResponse>
Modifier and Type | Method and Description |
---|---|
default AddSourceIdentifierToSubscriptionResponse.Builder |
eventSubscription(Consumer<EventSubscription.Builder> eventSubscription)
Sets the value of the EventSubscription property for this object.
|
AddSourceIdentifierToSubscriptionResponse.Builder |
eventSubscription(EventSubscription eventSubscription)
Sets the value of the EventSubscription property for this object.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
AddSourceIdentifierToSubscriptionResponse.Builder eventSubscription(EventSubscription eventSubscription)
eventSubscription
- The new value for the EventSubscription property for this object.default AddSourceIdentifierToSubscriptionResponse.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 © 2022. All rights reserved.