Interface CreateFormRequest.Builder
- All Superinterfaces:
AmplifyUiBuilderRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateFormRequest.Builder,,CreateFormRequest> SdkBuilder<CreateFormRequest.Builder,,CreateFormRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateFormRequest
public static interface CreateFormRequest.Builder
extends AmplifyUiBuilderRequest.Builder, SdkPojo, CopyableBuilder<CreateFormRequest.Builder,CreateFormRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe unique ID of the Amplify app to associate with the form.clientToken(String clientToken) The unique client token.environmentName(String environmentName) The name of the backend environment that is a part of the Amplify app.default CreateFormRequest.BuilderformToCreate(Consumer<CreateFormData.Builder> formToCreate) Represents the configuration of the form to create.formToCreate(CreateFormData formToCreate) Represents the configuration of the form to create.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.services.amplifyuibuilder.model.AmplifyUiBuilderRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
appId
The unique ID of the Amplify app to associate with the form.
- Parameters:
appId- The unique ID of the Amplify app to associate with the form.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentName
The name of the backend environment that is a part of the Amplify app.
- Parameters:
environmentName- The name of the backend environment that is a part of the Amplify app.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
The unique client token.
- Parameters:
clientToken- The unique client token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
formToCreate
Represents the configuration of the form to create.
- Parameters:
formToCreate- Represents the configuration of the form to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
formToCreate
Represents the configuration of the form to create.
This is a convenience method that creates an instance of theCreateFormData.Builderavoiding the need to create one manually viaCreateFormData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toformToCreate(CreateFormData).- Parameters:
formToCreate- a consumer that will call methods onCreateFormData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateFormRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateFormRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-