Interface AddNotificationChannelRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AddNotificationChannelRequest.Builder,,AddNotificationChannelRequest> DevOpsGuruRequest.Builder,SdkBuilder<AddNotificationChannelRequest.Builder,,AddNotificationChannelRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AddNotificationChannelRequest
@Mutable
@NotThreadSafe
public static interface AddNotificationChannelRequest.Builder
extends DevOpsGuruRequest.Builder, SdkPojo, CopyableBuilder<AddNotificationChannelRequest.Builder,AddNotificationChannelRequest>
-
Method Summary
Modifier and TypeMethodDescriptionANotificationChannelConfigobject that specifies what type of notification channel to add.config(NotificationChannelConfig config) ANotificationChannelConfigobject that specifies what type of notification channel to add.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.devopsguru.model.DevOpsGuruRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
config
A
NotificationChannelConfigobject that specifies what type of notification channel to add. The one supported notification channel is Amazon Simple Notification Service (Amazon SNS).- Parameters:
config- ANotificationChannelConfigobject that specifies what type of notification channel to add. The one supported notification channel is Amazon Simple Notification Service (Amazon SNS).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
config
default AddNotificationChannelRequest.Builder config(Consumer<NotificationChannelConfig.Builder> config) A
This is a convenience method that creates an instance of theNotificationChannelConfigobject that specifies what type of notification channel to add. The one supported notification channel is Amazon Simple Notification Service (Amazon SNS).NotificationChannelConfig.Builderavoiding the need to create one manually viaNotificationChannelConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfig(NotificationChannelConfig).- Parameters:
config- a consumer that will call methods onNotificationChannelConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
AddNotificationChannelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AddNotificationChannelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-