Class CfnForm.FormCTAProperty.Builder
java.lang.Object
software.amazon.awscdk.services.amplifyuibuilder.CfnForm.FormCTAProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnForm.FormCTAProperty>
- Enclosing interface:
- CfnForm.FormCTAProperty
@Stability(Stable)
public static final class CfnForm.FormCTAProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnForm.FormCTAProperty>
A builder for
CfnForm.FormCTAProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cancel(IResolvable cancel) Sets the value ofCfnForm.FormCTAProperty.getCancel()cancel(CfnForm.FormButtonProperty cancel) Sets the value ofCfnForm.FormCTAProperty.getCancel()clear(IResolvable clear) Sets the value ofCfnForm.FormCTAProperty.getClear()clear(CfnForm.FormButtonProperty clear) Sets the value ofCfnForm.FormCTAProperty.getClear()Sets the value ofCfnForm.FormCTAProperty.getPosition()submit(IResolvable submit) Sets the value ofCfnForm.FormCTAProperty.getSubmit()submit(CfnForm.FormButtonProperty submit) Sets the value ofCfnForm.FormCTAProperty.getSubmit()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cancel
Sets the value ofCfnForm.FormCTAProperty.getCancel()- Parameters:
cancel- Displays a cancel button.- Returns:
this
-
cancel
Sets the value ofCfnForm.FormCTAProperty.getCancel()- Parameters:
cancel- Displays a cancel button.- Returns:
this
-
clear
Sets the value ofCfnForm.FormCTAProperty.getClear()- Parameters:
clear- Displays a clear button.- Returns:
this
-
clear
Sets the value ofCfnForm.FormCTAProperty.getClear()- Parameters:
clear- Displays a clear button.- Returns:
this
-
position
Sets the value ofCfnForm.FormCTAProperty.getPosition()- Parameters:
position- The position of the button.- Returns:
this
-
submit
Sets the value ofCfnForm.FormCTAProperty.getSubmit()- Parameters:
submit- Displays a submit button.- Returns:
this
-
submit
Sets the value ofCfnForm.FormCTAProperty.getSubmit()- Parameters:
submit- Displays a submit button.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnForm.FormCTAProperty>- Returns:
- a new instance of
CfnForm.FormCTAProperty - Throws:
NullPointerException- if any required attribute was not provided
-