Interface CreateFormData.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<CreateFormData.Builder,,- CreateFormData> - SdkBuilder<CreateFormData.Builder,,- CreateFormData> - SdkPojo
- Enclosing class:
- CreateFormData
- 
Method SummaryModifier and TypeMethodDescriptiondefault CreateFormData.Buildercta(Consumer<FormCTA.Builder> cta) TheFormCTAobject that stores the call to action configuration for the form.TheFormCTAobject that stores the call to action configuration for the form.default CreateFormData.BuilderdataType(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 CreateFormData.Builderstyle(Consumer<FormStyle.Builder> style) The configuration for the form's style.The configuration for the form's style.One or more key-value pairs to use when tagging the form data.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
nameThe 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.
 
- 
dataTypeThe 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.
 
- 
dataTypeThe 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 on- FormDataTypeConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
formActionTypeSpecifies 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:
 
- 
formActionTypeSpecifies 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:
 
- 
fieldsThe 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.
 
- 
styleThe 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.
 
- 
styleThe 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 on- FormStyle.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
sectionalElementsThe 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.
 
- 
schemaVersionThe 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.
 
- 
ctaThe FormCTAobject that stores the call to action configuration for the form.- Parameters:
- cta- The- FormCTAobject 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.
 
- 
ctaThe 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 on- FormCTA.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
tagsOne 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
labelDecoratorSpecifies 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:
 
- 
labelDecoratorSpecifies 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:
 
 
-