Interface FormStyle.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FormStyle.Builder,,FormStyle> SdkBuilder<FormStyle.Builder,,FormStyle> SdkPojo
- Enclosing class:
FormStyle
public static interface FormStyle.Builder
extends SdkPojo, CopyableBuilder<FormStyle.Builder,FormStyle>
-
Method Summary
Modifier and TypeMethodDescriptiondefault FormStyle.BuilderhorizontalGap(Consumer<FormStyleConfig.Builder> horizontalGap) The spacing for the horizontal gap.horizontalGap(FormStyleConfig horizontalGap) The spacing for the horizontal gap.default FormStyle.BuilderouterPadding(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.BuilderverticalGap(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builderavoiding the need to create one manually viaFormStyleConfig.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaFormStyleConfig.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaFormStyleConfig.builder().When the
Consumercompletes,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:
-