Class CfnForm.Builder
java.lang.Object
software.amazon.awscdk.services.amplifyuibuilder.CfnForm.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnForm>
- Enclosing class:
CfnForm
@Stability(Stable)
public static final class CfnForm.Builder
extends Object
implements software.amazon.jsii.Builder<CfnForm>
A fluent builder for
CfnForm
.-
Method Summary
Modifier and TypeMethodDescriptionThe unique ID of the Amplify app associated with the form.build()
static CfnForm.Builder
cta
(IResolvable cta) TheFormCTA
object that stores the call to action configuration for the form.TheFormCTA
object that stores the call to action configuration for the form.dataType
(IResolvable dataType) The type of data source to use to create the form.dataType
(CfnForm.FormDataTypeConfigProperty 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.style
(IResolvable style) The configuration for the form's style.style
(CfnForm.FormStyleProperty style) The configuration for the form's style.One or more key-value pairs to use when tagging the form data.
-
Method Details
-
create
@Stability(Stable) public static CfnForm.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnForm.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
TheFormCTA
object that stores the call to action configuration for the form.- Parameters:
cta
- TheFormCTA
object that stores the call to action configuration for the form. This parameter is required.- Returns:
this
- See Also:
-
cta
TheFormCTA
object that stores the call to action configuration for the form.- Parameters:
cta
- TheFormCTA
object 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
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
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 CfnForm.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
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
-