Class CfnFormPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.amplifyuibuilder.CfnFormPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFormPropsMixin>
- Enclosing class:
CfnFormPropsMixin
@Stability(Stable)
public static final class CfnFormPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFormPropsMixin>
A fluent builder for
CfnFormPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionThe unique ID of the Amplify app associated with the form.build()static CfnFormPropsMixin.Buildercreate()static CfnFormPropsMixin.Buildercreate(CfnPropertyMixinOptions options) TheFormCTAobject that stores the call to action configuration for the form.cta(IResolvable cta) TheFormCTAobject that stores the call to action configuration for the form.The type of data source to use to create the form.dataType(IResolvable dataType) The type of data source to use to create the form.environmentName(String environmentName) The name of the backend environment that is a part of the Amplify app.The configuration information for the form's fields.fields(IResolvable fields) The configuration information for the form's fields.formActionType(String formActionType) Specifies whether to perform a create or update action on the form.labelDecorator(String labelDecorator) Specifies an icon or decoration to display on the form.The name of the form.schemaVersion(String schemaVersion) The schema version of the form.sectionalElements(Map<String, ? extends Object> sectionalElements) The configuration information for the visual helper elements for the form.sectionalElements(IResolvable sectionalElements) The configuration information for the visual helper elements for the form.The configuration for the form's style.style(IResolvable style) The configuration for the form's style.One or more key-value pairs to use when tagging the form data.
-
Method Details
-
create
- Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnFormPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnFormPropsMixin.Builder.
-
appId
The unique ID of the Amplify app associated with the form.- Parameters:
appId- The unique ID of the Amplify app associated with the form. This parameter is required.- Returns:
this- See Also:
-
cta
TheFormCTAobject that stores the call to action configuration for the form.- Parameters:
cta- TheFormCTAobject that stores the call to action configuration for the form. This parameter is required.- Returns:
this- See Also:
-
cta
TheFormCTAobject that stores the call to action configuration for the form.- Parameters:
cta- TheFormCTAobject that stores the call to action configuration for the form. This parameter is required.- Returns:
this- See Also:
-
dataType
The type of data source to use to create the form.- Parameters:
dataType- The type of data source to use to create the form. This parameter is required.- Returns:
this- See Also:
-
dataType
@Stability(Stable) public CfnFormPropsMixin.Builder dataType(CfnFormPropsMixin.FormDataTypeConfigProperty dataType) The type of data source to use to create the form.- Parameters:
dataType- The type of data source to use to create the form. This parameter is required.- Returns:
this- See Also:
-
environmentName
The name of the backend environment that is a part of the Amplify app.- Parameters:
environmentName- The name of the backend environment that is a part of the Amplify app. This parameter is required.- Returns:
this- See Also:
-
fields
The configuration information for the form's fields.- Parameters:
fields- The configuration information for the form's fields. This parameter is required.- Returns:
this- See Also:
-
fields
The configuration information for the form's fields.- Parameters:
fields- The configuration information for the form's fields. This parameter is required.- Returns:
this- See Also:
-
formActionType
Specifies whether to perform a create or update action on the form.- Parameters:
formActionType- Specifies whether to perform a create or update action on the form. This parameter is required.- Returns:
this- See Also:
-
labelDecorator
Specifies an icon or decoration to display on the form.- Parameters:
labelDecorator- Specifies an icon or decoration to display on the form. This parameter is required.- Returns:
this- See Also:
-
name
The name of the form.- Parameters:
name- The name of the form. This parameter is required.- Returns:
this- See Also:
-
schemaVersion
The schema version of the form.- Parameters:
schemaVersion- The schema version of the form. This parameter is required.- Returns:
this- See Also:
-
sectionalElements
@Stability(Stable) public CfnFormPropsMixin.Builder sectionalElements(IResolvable sectionalElements) The configuration information for the visual helper elements for the form.These elements are not associated with any data.
- Parameters:
sectionalElements- The configuration information for the visual helper elements for the form. This parameter is required.- Returns:
this- See Also:
-
sectionalElements
@Stability(Stable) public CfnFormPropsMixin.Builder sectionalElements(Map<String, ? extends Object> sectionalElements) The configuration information for the visual helper elements for the form.These elements are not associated with any data.
- Parameters:
sectionalElements- The configuration information for the visual helper elements for the form. This parameter is required.- Returns:
this- See Also:
-
style
The configuration for the form's style.- Parameters:
style- The configuration for the form's style. This parameter is required.- Returns:
this- See Also:
-
style
@Stability(Stable) public CfnFormPropsMixin.Builder style(CfnFormPropsMixin.FormStyleProperty style) The configuration for the form's style.- Parameters:
style- The configuration for the form's style. This parameter is required.- Returns:
this- See Also:
-
tags
One or more key-value pairs to use when tagging the form data.- Parameters:
tags- One or more key-value pairs to use when tagging the form data. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFormPropsMixin>- Returns:
- a newly built instance of
CfnFormPropsMixin.
-