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