Class CfnFormPropsMixin.FormButtonProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.amplifyuibuilder.CfnFormPropsMixin.FormButtonProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFormPropsMixin.FormButtonProperty>
- Enclosing interface:
CfnFormPropsMixin.FormButtonProperty
@Stability(Stable)
public static final class CfnFormPropsMixin.FormButtonProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFormPropsMixin.FormButtonProperty>
A builder for
CfnFormPropsMixin.FormButtonProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFormPropsMixin.FormButtonProperty.getChildren()Sets the value ofCfnFormPropsMixin.FormButtonProperty.getExcluded()excluded(IResolvable excluded) Sets the value ofCfnFormPropsMixin.FormButtonProperty.getExcluded()Sets the value ofCfnFormPropsMixin.FormButtonProperty.getPosition()position(IResolvable position) Sets the value ofCfnFormPropsMixin.FormButtonProperty.getPosition()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
children
Sets the value ofCfnFormPropsMixin.FormButtonProperty.getChildren()- Parameters:
children- Describes the button's properties.- Returns:
this
-
excluded
Sets the value ofCfnFormPropsMixin.FormButtonProperty.getExcluded()- Parameters:
excluded- Specifies whether the button is visible on the form.- Returns:
this
-
excluded
@Stability(Stable) public CfnFormPropsMixin.FormButtonProperty.Builder excluded(IResolvable excluded) Sets the value ofCfnFormPropsMixin.FormButtonProperty.getExcluded()- Parameters:
excluded- Specifies whether the button is visible on the form.- Returns:
this
-
position
@Stability(Stable) public CfnFormPropsMixin.FormButtonProperty.Builder position(IResolvable position) Sets the value ofCfnFormPropsMixin.FormButtonProperty.getPosition()- Parameters:
position- The position of the button.- Returns:
this
-
position
@Stability(Stable) public CfnFormPropsMixin.FormButtonProperty.Builder position(CfnFormPropsMixin.FieldPositionProperty position) Sets the value ofCfnFormPropsMixin.FormButtonProperty.getPosition()- Parameters:
position- The position of the button.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFormPropsMixin.FormButtonProperty>- Returns:
- a new instance of
CfnFormPropsMixin.FormButtonProperty - Throws:
NullPointerException- if any required attribute was not provided
-