Interface DescribeNotificationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectResponse.Builder,CopyableBuilder<DescribeNotificationResponse.Builder,,DescribeNotificationResponse> SdkBuilder<DescribeNotificationResponse.Builder,,DescribeNotificationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeNotificationResponse
@Mutable
@NotThreadSafe
public static interface DescribeNotificationResponse.Builder
extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<DescribeNotificationResponse.Builder,DescribeNotificationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionnotification(Consumer<Notification.Builder> notification) The complete notification information including content, priority, recipients, and metadata.notification(Notification notification) The complete notification information including content, priority, recipients, and metadata.Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.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
-
notification
The complete notification information including content, priority, recipients, and metadata.
- Parameters:
notification- The complete notification information including content, priority, recipients, and metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notification
default DescribeNotificationResponse.Builder notification(Consumer<Notification.Builder> notification) The complete notification information including content, priority, recipients, and metadata.
This is a convenience method that creates an instance of theNotification.Builderavoiding the need to create one manually viaNotification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonotification(Notification).- Parameters:
notification- a consumer that will call methods onNotification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-