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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CascadingControlConfiguration.Builder
sourceControls(Collection<CascadingControlSource> sourceControls)
A list of source controls that determine the values that are used in the current control.CascadingControlConfiguration.Builder
sourceControls(Consumer<CascadingControlSource.Builder>... sourceControls)
A list of source controls that determine the values that are used in the current control.CascadingControlConfiguration.Builder
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 Detail
-
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
CascadingControlConfiguration.Builder sourceControls(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
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 to#sourceControls(List
.) - 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:
#sourceControls(java.util.Collection
)
-
-