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