Interface SourceConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SourceConfig.Builder,
,SourceConfig> SdkBuilder<SourceConfig.Builder,
,SourceConfig> SdkPojo
- Enclosing class:
SourceConfig
public static interface SourceConfig.Builder
extends SdkPojo, CopyableBuilder<SourceConfig.Builder,SourceConfig>
-
Method Summary
Modifier and TypeMethodDescriptionadvancedEventSelectors
(Collection<AdvancedEventSelector> advancedEventSelectors) The advanced event selectors that are configured for the channel.advancedEventSelectors
(Consumer<AdvancedEventSelector.Builder>... advancedEventSelectors) The advanced event selectors that are configured for the channel.advancedEventSelectors
(AdvancedEventSelector... advancedEventSelectors) The advanced event selectors that are configured for the channel.applyToAllRegions
(Boolean applyToAllRegions) Specifies whether the channel applies to a single Region or to all Regions.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, sdkFields
-
Method Details
-
applyToAllRegions
Specifies whether the channel applies to a single Region or to all Regions.
- Parameters:
applyToAllRegions
- Specifies whether the channel applies to a single Region or to all Regions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
advancedEventSelectors
SourceConfig.Builder advancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors) The advanced event selectors that are configured for the channel.
- Parameters:
advancedEventSelectors
- The advanced event selectors that are configured for the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
advancedEventSelectors
The advanced event selectors that are configured for the channel.
- Parameters:
advancedEventSelectors
- The advanced event selectors that are configured for the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
advancedEventSelectors
SourceConfig.Builder advancedEventSelectors(Consumer<AdvancedEventSelector.Builder>... advancedEventSelectors) The advanced event selectors that are configured for the channel.
This is a convenience method that creates an instance of theAdvancedEventSelector.Builder
avoiding the need to create one manually viaAdvancedEventSelector.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toadvancedEventSelectors(List<AdvancedEventSelector>)
.- Parameters:
advancedEventSelectors
- a consumer that will call methods onAdvancedEventSelector.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-