Interface GetNotificationConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeGuruProfilerResponse.Builder
,CopyableBuilder<GetNotificationConfigurationResponse.Builder,
,GetNotificationConfigurationResponse> SdkBuilder<GetNotificationConfigurationResponse.Builder,
,GetNotificationConfigurationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetNotificationConfigurationResponse
public static interface GetNotificationConfigurationResponse.Builder
extends CodeGuruProfilerResponse.Builder, SdkPojo, CopyableBuilder<GetNotificationConfigurationResponse.Builder,GetNotificationConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionnotificationConfiguration
(Consumer<NotificationConfiguration.Builder> notificationConfiguration) The current notification configuration for this profiling group.notificationConfiguration
(NotificationConfiguration notificationConfiguration) The current notification configuration for this profiling group.Methods inherited from interface software.amazon.awssdk.services.codeguruprofiler.model.CodeGuruProfilerResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
notificationConfiguration
GetNotificationConfigurationResponse.Builder notificationConfiguration(NotificationConfiguration notificationConfiguration) The current notification configuration for this profiling group.
- Parameters:
notificationConfiguration
- The current notification configuration for this profiling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationConfiguration
default GetNotificationConfigurationResponse.Builder notificationConfiguration(Consumer<NotificationConfiguration.Builder> notificationConfiguration) The current notification configuration for this profiling group.
This is a convenience method that creates an instance of theNotificationConfiguration.Builder
avoiding the need to create one manually viaNotificationConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonotificationConfiguration(NotificationConfiguration)
.- Parameters:
notificationConfiguration
- a consumer that will call methods onNotificationConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-