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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SourceConfig.BuilderadvancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors)The advanced event selectors that are configured for the channel.SourceConfig.BuilderadvancedEventSelectors(Consumer<AdvancedEventSelector.Builder>... advancedEventSelectors)The advanced event selectors that are configured for the channel.SourceConfig.BuilderadvancedEventSelectors(AdvancedEventSelector... advancedEventSelectors)The advanced event selectors that are configured for the channel.SourceConfig.BuilderapplyToAllRegions(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 Detail
-
applyToAllRegions
SourceConfig.Builder applyToAllRegions(Boolean 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
SourceConfig.Builder advancedEventSelectors(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
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.Builderavoiding the need to create one manually viaAdvancedEventSelector.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#advancedEventSelectors(List.) - 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:
#advancedEventSelectors(java.util.Collection)
-
-