Interface FormCTA.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FormCTA.Builder,,FormCTA> SdkBuilder<FormCTA.Builder,,FormCTA> SdkPojo
- Enclosing class:
FormCTA
-
Method Summary
Modifier and TypeMethodDescriptiondefault FormCTA.Buildercancel(Consumer<FormButton.Builder> cancel) Displays a cancel button.cancel(FormButton cancel) Displays a cancel button.default FormCTA.Builderclear(Consumer<FormButton.Builder> clear) Displays a clear button.clear(FormButton clear) Displays a clear button.The position of the button.position(FormButtonsPosition position) The position of the button.default FormCTA.Buildersubmit(Consumer<FormButton.Builder> submit) Displays a submit button.submit(FormButton submit) Displays a submit 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
-
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.
- See Also:
-
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.
- See Also:
-
clear
Displays a clear button.
- Parameters:
clear- Displays a clear button.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clear
Displays a clear button.
This is a convenience method that creates an instance of theFormButton.Builderavoiding the need to create one manually viaFormButton.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toclear(FormButton).- Parameters:
clear- a consumer that will call methods onFormButton.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cancel
Displays a cancel button.
- Parameters:
cancel- Displays a cancel button.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cancel
Displays a cancel button.
This is a convenience method that creates an instance of theFormButton.Builderavoiding the need to create one manually viaFormButton.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocancel(FormButton).- Parameters:
cancel- a consumer that will call methods onFormButton.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
submit
Displays a submit button.
- Parameters:
submit- Displays a submit button.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
submit
Displays a submit button.
This is a convenience method that creates an instance of theFormButton.Builderavoiding the need to create one manually viaFormButton.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosubmit(FormButton).- Parameters:
submit- a consumer that will call methods onFormButton.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-