Interface FormInputCardInput.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FormInputCardInput.Builder,FormInputCardInput>,SdkBuilder<FormInputCardInput.Builder,FormInputCardInput>,SdkPojo
- Enclosing class:
- FormInputCardInput
public static interface FormInputCardInput.Builder extends SdkPojo, CopyableBuilder<FormInputCardInput.Builder,FormInputCardInput>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description FormInputCardInput.BuildercomputeMode(String computeMode)The compute mode of the form input card.FormInputCardInput.BuildercomputeMode(InputCardComputeMode computeMode)The compute mode of the form input card.FormInputCardInput.Builderid(String id)The unique identifier of the form input card.default FormInputCardInput.Buildermetadata(Consumer<FormInputCardMetadata.Builder> metadata)The metadata that defines the form input card data.FormInputCardInput.Buildermetadata(FormInputCardMetadata metadata)The metadata that defines the form input card data.FormInputCardInput.Buildertitle(String title)The title or label of the form input card.FormInputCardInput.Buildertype(String type)The type of the card.FormInputCardInput.Buildertype(CardType type)The type of the card.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
title
FormInputCardInput.Builder title(String title)
The title or label of the form input card.
- Parameters:
title- The title or label of the form input card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
FormInputCardInput.Builder id(String id)
The unique identifier of the form input card.
- Parameters:
id- The unique identifier of the form input card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
FormInputCardInput.Builder type(String type)
The type of the card.
-
type
FormInputCardInput.Builder type(CardType type)
The type of the card.
-
metadata
FormInputCardInput.Builder metadata(FormInputCardMetadata metadata)
The metadata that defines the form input card data.
- Parameters:
metadata- The metadata that defines the form input card data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
default FormInputCardInput.Builder metadata(Consumer<FormInputCardMetadata.Builder> metadata)
The metadata that defines the form input card data.
This is a convenience method that creates an instance of theFormInputCardMetadata.Builderavoiding the need to create one manually viaFormInputCardMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometadata(FormInputCardMetadata).- Parameters:
metadata- a consumer that will call methods onFormInputCardMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
metadata(FormInputCardMetadata)
-
computeMode
FormInputCardInput.Builder computeMode(String computeMode)
The compute mode of the form input card. This property determines whether individual participants of a data collection session can submit multiple response or one response. A compute mode of
appendshall allow participants to submit the same form multiple times with different values. A compute mode ofreplacecode> shall overwrite the current value for each participant.- Parameters:
computeMode- The compute mode of the form input card. This property determines whether individual participants of a data collection session can submit multiple response or one response. A compute mode ofappendshall allow participants to submit the same form multiple times with different values. A compute mode ofreplacecode> shall overwrite the current value for each participant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InputCardComputeMode,InputCardComputeMode
-
computeMode
FormInputCardInput.Builder computeMode(InputCardComputeMode computeMode)
The compute mode of the form input card. This property determines whether individual participants of a data collection session can submit multiple response or one response. A compute mode of
appendshall allow participants to submit the same form multiple times with different values. A compute mode ofreplacecode> shall overwrite the current value for each participant.- Parameters:
computeMode- The compute mode of the form input card. This property determines whether individual participants of a data collection session can submit multiple response or one response. A compute mode ofappendshall allow participants to submit the same form multiple times with different values. A compute mode ofreplacecode> shall overwrite the current value for each participant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InputCardComputeMode,InputCardComputeMode
-
-