Interface NotificationConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NotificationConfiguration.Builder,,NotificationConfiguration> SdkBuilder<NotificationConfiguration.Builder,,NotificationConfiguration> SdkPojo
- Enclosing class:
NotificationConfiguration
@Mutable
@NotThreadSafe
public static interface NotificationConfiguration.Builder
extends SdkPojo, CopyableBuilder<NotificationConfiguration.Builder,NotificationConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondestinationConfig(Consumer<NotificationDestinationConfig.Builder> destinationConfig) The destination information required to deliver a notification to a customer.destinationConfig(NotificationDestinationConfig destinationConfig) The destination information required to deliver a notification to a customer.Indicates if a notification configuration is enabled or disabled.status(ConfigurationStatus status) Indicates if a notification configuration is enabled or disabled.Methods 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, sdkFields
-
Method Details
-
status
Indicates if a notification configuration is enabled or disabled.
- Parameters:
status- Indicates if a notification configuration is enabled or disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Indicates if a notification configuration is enabled or disabled.
- Parameters:
status- Indicates if a notification configuration is enabled or disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationConfig
NotificationConfiguration.Builder destinationConfig(NotificationDestinationConfig destinationConfig) The destination information required to deliver a notification to a customer.
- Parameters:
destinationConfig- The destination information required to deliver a notification to a customer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationConfig
default NotificationConfiguration.Builder destinationConfig(Consumer<NotificationDestinationConfig.Builder> destinationConfig) The destination information required to deliver a notification to a customer.
This is a convenience method that creates an instance of theNotificationDestinationConfig.Builderavoiding the need to create one manually viaNotificationDestinationConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestinationConfig(NotificationDestinationConfig).- Parameters:
destinationConfig- a consumer that will call methods onNotificationDestinationConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-