Interface CascadingControlConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CascadingControlConfiguration.Builder,,CascadingControlConfiguration> SdkBuilder<CascadingControlConfiguration.Builder,,CascadingControlConfiguration> SdkPojo
- Enclosing class:
CascadingControlConfiguration
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaCascadingControlSource.builder().When the
Consumercompletes,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:
-