Interface CascadingControlConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CascadingControlConfiguration.Builder,
,CascadingControlConfiguration> SdkBuilder<CascadingControlConfiguration.Builder,
,CascadingControlConfiguration> SdkPojo
- Enclosing class:
CascadingControlConfiguration
public static interface CascadingControlConfiguration.Builder
extends SdkPojo, CopyableBuilder<CascadingControlConfiguration.Builder,CascadingControlConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionsourceControls
(Collection<CascadingControlSource> sourceControls) A list of source controls that determine the values that are used in the current control.sourceControls
(Consumer<CascadingControlSource.Builder>... sourceControls) A list of source controls that determine the values that are used in the current control.sourceControls
(CascadingControlSource... sourceControls) A list of source controls that determine the values that are used in the current control.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
-
sourceControls
CascadingControlConfiguration.Builder sourceControls(Collection<CascadingControlSource> sourceControls) A list of source controls that determine the values that are used in the current control.
- Parameters:
sourceControls
- A list of source controls that determine the values that are used in the current control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceControls
A list of source controls that determine the values that are used in the current control.
- Parameters:
sourceControls
- A list of source controls that determine the values that are used in the current control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceControls
CascadingControlConfiguration.Builder sourceControls(Consumer<CascadingControlSource.Builder>... sourceControls) A list of source controls that determine the values that are used in the current control.
This is a convenience method that creates an instance of theCascadingControlSource.Builder
avoiding the need to create one manually viaCascadingControlSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceControls(List<CascadingControlSource>)
.- Parameters:
sourceControls
- a consumer that will call methods onCascadingControlSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-