Interface AddNotificationChannelRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AddNotificationChannelRequest.Builder,AddNotificationChannelRequest>,DevOpsGuruRequest.Builder,SdkBuilder<AddNotificationChannelRequest.Builder,AddNotificationChannelRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- AddNotificationChannelRequest
public static interface AddNotificationChannelRequest.Builder extends DevOpsGuruRequest.Builder, SdkPojo, CopyableBuilder<AddNotificationChannelRequest.Builder,AddNotificationChannelRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AddNotificationChannelRequest.Builderconfig(Consumer<NotificationChannelConfig.Builder> config)ANotificationChannelConfigobject that specifies what type of notification channel to add.AddNotificationChannelRequest.Builderconfig(NotificationChannelConfig config)ANotificationChannelConfigobject that specifies what type of notification channel to add.AddNotificationChannelRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)AddNotificationChannelRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.devopsguru.model.DevOpsGuruRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
config
AddNotificationChannelRequest.Builder config(NotificationChannelConfig 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:
config(NotificationChannelConfig)
-
overrideConfiguration
AddNotificationChannelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AddNotificationChannelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-