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