Interface UpdateFormData.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<UpdateFormData.Builder,UpdateFormData>,SdkBuilder<UpdateFormData.Builder,UpdateFormData>,SdkPojo
- Enclosing class:
- UpdateFormData
public static interface UpdateFormData.Builder extends SdkPojo, CopyableBuilder<UpdateFormData.Builder,UpdateFormData>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateFormData.Buildercta(Consumer<FormCTA.Builder> cta)TheFormCTAobject that stores the call to action configuration for the form.UpdateFormData.Buildercta(FormCTA cta)TheFormCTAobject that stores the call to action configuration for the form.default UpdateFormData.BuilderdataType(Consumer<FormDataTypeConfig.Builder> dataType)The type of data source to use to create the form.UpdateFormData.BuilderdataType(FormDataTypeConfig dataType)The type of data source to use to create the form.UpdateFormData.Builderfields(Map<String,FieldConfig> fields)The configuration information for the form's fields.UpdateFormData.BuilderformActionType(String formActionType)Specifies whether to perform a create or update action on the form.UpdateFormData.BuilderformActionType(FormActionType formActionType)Specifies whether to perform a create or update action on the form.UpdateFormData.BuilderlabelDecorator(String labelDecorator)Specifies an icon or decoration to display on the form.UpdateFormData.BuilderlabelDecorator(LabelDecorator labelDecorator)Specifies an icon or decoration to display on the form.UpdateFormData.Buildername(String name)The name of the form.UpdateFormData.BuilderschemaVersion(String schemaVersion)The schema version of the form.UpdateFormData.BuildersectionalElements(Map<String,SectionalElement> sectionalElements)The configuration information for the visual helper elements for the form.default UpdateFormData.Builderstyle(Consumer<FormStyle.Builder> style)The configuration for the form's style.UpdateFormData.Builderstyle(FormStyle 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 Detail
-
name
UpdateFormData.Builder name(String 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
UpdateFormData.Builder dataType(FormDataTypeConfig 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
default UpdateFormData.Builder dataType(Consumer<FormDataTypeConfig.Builder> dataType)
The type of data source to use to create the form.
This is a convenience method that creates an instance of theFormDataTypeConfig.Builderavoiding the need to create one manually viaFormDataTypeConfig.builder().When the
Consumercompletes,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:
dataType(FormDataTypeConfig)
-
formActionType
UpdateFormData.Builder formActionType(String 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,FormActionType
-
formActionType
UpdateFormData.Builder formActionType(FormActionType 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,FormActionType
-
fields
UpdateFormData.Builder fields(Map<String,FieldConfig> 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
UpdateFormData.Builder style(FormStyle 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
default UpdateFormData.Builder style(Consumer<FormStyle.Builder> style)
The configuration for the form's style.
This is a convenience method that creates an instance of theFormStyle.Builderavoiding the need to create one manually viaFormStyle.builder().When the
Consumercompletes,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:
style(FormStyle)
-
sectionalElements
UpdateFormData.Builder sectionalElements(Map<String,SectionalElement> 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
UpdateFormData.Builder schemaVersion(String 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
UpdateFormData.Builder cta(FormCTA cta)
The
FormCTAobject that stores the call to action configuration for the form.- Parameters:
cta- TheFormCTAobject 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
default UpdateFormData.Builder cta(Consumer<FormCTA.Builder> cta)
The
This is a convenience method that creates an instance of theFormCTAobject that stores the call to action configuration for the form.FormCTA.Builderavoiding the need to create one manually viaFormCTA.builder().When the
Consumercompletes,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:
cta(FormCTA)
-
labelDecorator
UpdateFormData.Builder labelDecorator(String 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,LabelDecorator
-
labelDecorator
UpdateFormData.Builder labelDecorator(LabelDecorator 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,LabelDecorator
-
-