Interface GetNotificationConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeGuruProfilerResponse.Builder,CopyableBuilder<GetNotificationConfigurationResponse.Builder,,GetNotificationConfigurationResponse> SdkBuilder<GetNotificationConfigurationResponse.Builder,,GetNotificationConfigurationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetNotificationConfigurationResponse
@Mutable
@NotThreadSafe
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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaNotificationConfiguration.builder().When the
Consumercompletes,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:
-