public static interface AddSourceIdentifierToSubscriptionResponse.Builder extends NeptuneResponse.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, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildAddSourceIdentifierToSubscriptionResponse.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.BuildereventSubscription(EventSubscription)Copyright © 2023. All rights reserved.