Interface FormButton.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FormButton.Builder,,FormButton> SdkBuilder<FormButton.Builder,,FormButton> SdkPojo
- Enclosing class:
FormButton
public static interface FormButton.Builder
extends SdkPojo, CopyableBuilder<FormButton.Builder,FormButton>
-
Method Summary
Modifier and TypeMethodDescriptionDescribes the button's properties.Specifies whether the button is visible on the form.default FormButton.Builderposition(Consumer<FieldPosition.Builder> position) The position of the button.position(FieldPosition position) The position of the button.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
-
excluded
Specifies whether the button is visible on the form.
- Parameters:
excluded- Specifies whether the button is visible on the form.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
children
Describes the button's properties.
- Parameters:
children- Describes the button's properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
position
The position of the button.
- Parameters:
position- The position of the button.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
position
The position of the button.
This is a convenience method that creates an instance of theFieldPosition.Builderavoiding the need to create one manually viaFieldPosition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toposition(FieldPosition).- Parameters:
position- a consumer that will call methods onFieldPosition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-