public static interface AddNotificationChannelsResponse.Builder extends CodeGuruProfilerResponse.Builder, SdkPojo, CopyableBuilder<AddNotificationChannelsResponse.Builder,AddNotificationChannelsResponse>
Modifier and Type | Method and Description |
---|---|
default AddNotificationChannelsResponse.Builder |
notificationConfiguration(Consumer<NotificationConfiguration.Builder> notificationConfiguration)
The new notification configuration for this profiling group.
|
AddNotificationChannelsResponse.Builder |
notificationConfiguration(NotificationConfiguration notificationConfiguration)
The new notification configuration for this profiling group.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
AddNotificationChannelsResponse.Builder notificationConfiguration(NotificationConfiguration notificationConfiguration)
The new notification configuration for this profiling group.
notificationConfiguration
- The new notification configuration for this profiling group.default AddNotificationChannelsResponse.Builder notificationConfiguration(Consumer<NotificationConfiguration.Builder> notificationConfiguration)
The new notification configuration for this profiling group.
This is a convenience that creates an instance of theNotificationConfiguration.Builder
avoiding the
need to create one manually via NotificationConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to notificationConfiguration(NotificationConfiguration)
.notificationConfiguration
- a consumer that will call methods on NotificationConfiguration.Builder
notificationConfiguration(NotificationConfiguration)