Interface FormStyle.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FormStyle.Builder,
,FormStyle> SdkBuilder<FormStyle.Builder,
,FormStyle> SdkPojo
- Enclosing class:
FormStyle
@Mutable
@NotThreadSafe
public static interface FormStyle.Builder
extends SdkPojo, CopyableBuilder<FormStyle.Builder,FormStyle>
-
Method Summary
Modifier and TypeMethodDescriptiondefault FormStyle.Builder
horizontalGap
(Consumer<FormStyleConfig.Builder> horizontalGap) The spacing for the horizontal gap.horizontalGap
(FormStyleConfig horizontalGap) The spacing for the horizontal gap.default FormStyle.Builder
outerPadding
(Consumer<FormStyleConfig.Builder> outerPadding) The size of the outer padding for the form.outerPadding
(FormStyleConfig outerPadding) The size of the outer padding for the form.default FormStyle.Builder
verticalGap
(Consumer<FormStyleConfig.Builder> verticalGap) The spacing for the vertical gap.verticalGap
(FormStyleConfig verticalGap) The spacing for the vertical gap.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, sdkFieldNameToField, sdkFields
-
Method Details
-
horizontalGap
The spacing for the horizontal gap.
- Parameters:
horizontalGap
- The spacing for the horizontal gap.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
horizontalGap
The spacing for the horizontal gap.
This is a convenience method that creates an instance of theFormStyleConfig.Builder
avoiding the need to create one manually viaFormStyleConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohorizontalGap(FormStyleConfig)
.- Parameters:
horizontalGap
- a consumer that will call methods onFormStyleConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
verticalGap
The spacing for the vertical gap.
- Parameters:
verticalGap
- The spacing for the vertical gap.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
verticalGap
The spacing for the vertical gap.
This is a convenience method that creates an instance of theFormStyleConfig.Builder
avoiding the need to create one manually viaFormStyleConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toverticalGap(FormStyleConfig)
.- Parameters:
verticalGap
- a consumer that will call methods onFormStyleConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outerPadding
The size of the outer padding for the form.
- Parameters:
outerPadding
- The size of the outer padding for the form.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outerPadding
The size of the outer padding for the form.
This is a convenience method that creates an instance of theFormStyleConfig.Builder
avoiding the need to create one manually viaFormStyleConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toouterPadding(FormStyleConfig)
.- Parameters:
outerPadding
- a consumer that will call methods onFormStyleConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-