Interface FormButton.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<FormButton.Builder,,- FormButton> - SdkBuilder<FormButton.Builder,,- FormButton> - SdkPojo
- Enclosing class:
- FormButton
@Mutable
@NotThreadSafe
public static interface FormButton.Builder
extends SdkPojo, CopyableBuilder<FormButton.Builder,FormButton> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
excludedSpecifies 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.
 
- 
childrenDescribes 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.
 
- 
positionThe 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.
 
- 
positionThe 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 on- FieldPosition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-