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.Builder
position
(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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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.Builder
avoiding the need to create one manually viaFieldPosition.builder()
.When the
Consumer
completes,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:
-