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 SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
horizontalGapThe 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.
 
- 
horizontalGapThe 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 on- FormStyleConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
verticalGapThe 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.
 
- 
verticalGapThe 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 on- FormStyleConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
outerPaddingThe 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.
 
- 
outerPaddingThe 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 on- FormStyleConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-