Interface UpdateFormData.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UpdateFormData.Builder,
,UpdateFormData> SdkBuilder<UpdateFormData.Builder,
,UpdateFormData> SdkPojo
- Enclosing class:
UpdateFormData
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateFormData.Builder
cta
(Consumer<FormCTA.Builder> 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.default UpdateFormData.Builder
dataType
(Consumer<FormDataTypeConfig.Builder> dataType) The type of data source to use to create the form.dataType
(FormDataTypeConfig dataType) The type of data source to use to create the form.fields
(Map<String, FieldConfig> fields) The configuration information for the form's fields.formActionType
(String formActionType) Specifies whether to perform a create or update action on the form.formActionType
(FormActionType 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.labelDecorator
(LabelDecorator 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, SectionalElement> sectionalElements) The configuration information for the visual helper elements for the form.default UpdateFormData.Builder
style
(Consumer<FormStyle.Builder> style) The configuration for the form's style.The configuration for the form's style.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name of the form.
- Parameters:
name
- The name of the form.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataType
The type of data source to use to create the form.
This is a convenience method that creates an instance of theFormDataTypeConfig.Builder
avoiding the need to create one manually viaFormDataTypeConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataType(FormDataTypeConfig)
.- Parameters:
dataType
- a consumer that will call methods onFormDataTypeConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fields
The configuration information for the form's fields.
- Parameters:
fields
- The configuration information for the form's fields.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
style
The configuration for the form's style.
- Parameters:
style
- The configuration for the form's style.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
style
The configuration for the form's style.
This is a convenience method that creates an instance of theFormStyle.Builder
avoiding the need to create one manually viaFormStyle.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostyle(FormStyle)
.- Parameters:
style
- a consumer that will call methods onFormStyle.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- 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. These elements are not associated with any data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemaVersion
The schema version of the form.
- Parameters:
schemaVersion
- The schema version of the form.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cta
The
FormCTA
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cta
The
This is a convenience method that creates an instance of theFormCTA
object that stores the call to action configuration for the form.FormCTA.Builder
avoiding the need to create one manually viaFormCTA.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocta(FormCTA)
.- Parameters:
cta
- a consumer that will call methods onFormCTA.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-