Class FormReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.amplifyuibuilder.FormReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<FormReference>
- Enclosing interface:
FormReference
@Stability(Stable)
public static final class FormReference.Builder
extends Object
implements software.amazon.jsii.Builder<FormReference>
A builder for
FormReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofFormReference.getAppId()build()Builds the configured instance.environmentName(String environmentName) Sets the value ofFormReference.getEnvironmentName()Sets the value ofFormReference.getFormId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
appId
Sets the value ofFormReference.getAppId()- Parameters:
appId- The AppId of the Form resource. This parameter is required.- Returns:
this
-
environmentName
Sets the value ofFormReference.getEnvironmentName()- Parameters:
environmentName- The EnvironmentName of the Form resource. This parameter is required.- Returns:
this
-
formId
Sets the value ofFormReference.getFormId()- Parameters:
formId- The Id of the Form resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<FormReference>- Returns:
- a new instance of
FormReference - Throws:
NullPointerException- if any required attribute was not provided
-