Interface AddNotificationChannelsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeGuruProfilerRequest.Builder,CopyableBuilder<AddNotificationChannelsRequest.Builder,AddNotificationChannelsRequest>,SdkBuilder<AddNotificationChannelsRequest.Builder,AddNotificationChannelsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- AddNotificationChannelsRequest
public static interface AddNotificationChannelsRequest.Builder extends CodeGuruProfilerRequest.Builder, SdkPojo, CopyableBuilder<AddNotificationChannelsRequest.Builder,AddNotificationChannelsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AddNotificationChannelsRequest.Builderchannels(Collection<Channel> channels)One or 2 channels to report to when anomalies are detected.AddNotificationChannelsRequest.Builderchannels(Consumer<Channel.Builder>... channels)One or 2 channels to report to when anomalies are detected.AddNotificationChannelsRequest.Builderchannels(Channel... channels)One or 2 channels to report to when anomalies are detected.AddNotificationChannelsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)AddNotificationChannelsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)AddNotificationChannelsRequest.BuilderprofilingGroupName(String profilingGroupName)The name of the profiling group that we are setting up notifications for.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.codeguruprofiler.model.CodeGuruProfilerRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
channels
AddNotificationChannelsRequest.Builder channels(Collection<Channel> channels)
One or 2 channels to report to when anomalies are detected.
- Parameters:
channels- One or 2 channels to report to when anomalies are detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channels
AddNotificationChannelsRequest.Builder channels(Channel... channels)
One or 2 channels to report to when anomalies are detected.
- Parameters:
channels- One or 2 channels to report to when anomalies are detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channels
AddNotificationChannelsRequest.Builder channels(Consumer<Channel.Builder>... channels)
One or 2 channels to report to when anomalies are detected.
This is a convenience method that creates an instance of theChannel.Builderavoiding the need to create one manually viaChannel.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#channels(List.) - Parameters:
channels- a consumer that will call methods onChannel.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#channels(java.util.Collection)
-
profilingGroupName
AddNotificationChannelsRequest.Builder profilingGroupName(String profilingGroupName)
The name of the profiling group that we are setting up notifications for.
- Parameters:
profilingGroupName- The name of the profiling group that we are setting up notifications for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AddNotificationChannelsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AddNotificationChannelsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-