Interface FormSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FormSummary.Builder,
,FormSummary> SdkBuilder<FormSummary.Builder,
,FormSummary> SdkPojo
- Enclosing class:
FormSummary
public static interface FormSummary.Builder
extends SdkPojo, CopyableBuilder<FormSummary.Builder,FormSummary>
-
Method Summary
Modifier and TypeMethodDescriptionThe unique ID for the app associated with the form summary.default FormSummary.Builder
dataType
(Consumer<FormDataTypeConfig.Builder> dataType) The form's data source type.dataType
(FormDataTypeConfig dataType) The form's data source type.environmentName
(String environmentName) The name of the backend environment that is part of the Amplify app.formActionType
(String formActionType) The type of operation to perform on the form.formActionType
(FormActionType formActionType) The type of operation to perform on the form.The ID of the form.The name of the form.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
-
appId
The unique ID for the app associated with the form summary.
- Parameters:
appId
- The unique ID for the app associated with the form summary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataType
The form's data source type.
- Parameters:
dataType
- The form's data source type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataType
The form's data source type.
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:
-
environmentName
The name of the backend environment that is part of the Amplify app.
- Parameters:
environmentName
- The name of the backend environment that is part of the Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
formActionType
The type of operation to perform on the form.
- Parameters:
formActionType
- The type of operation to perform on the form.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
formActionType
The type of operation to perform on the form.
- Parameters:
formActionType
- The type of operation to perform on the form.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
id
The ID of the form.
- Parameters:
id
- The ID of the form.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-