Class CfnForm.FormStyleConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.amplifyuibuilder.CfnForm.FormStyleConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnForm.FormStyleConfigProperty>
- Enclosing interface:
CfnForm.FormStyleConfigProperty
@Stability(Stable)
public static final class CfnForm.FormStyleConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnForm.FormStyleConfigProperty>
A builder for
CfnForm.FormStyleConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.tokenReference(String tokenReference) Sets the value ofCfnForm.FormStyleConfigProperty.getTokenReference()Sets the value ofCfnForm.FormStyleConfigProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
tokenReference
@Stability(Stable) public CfnForm.FormStyleConfigProperty.Builder tokenReference(String tokenReference) Sets the value ofCfnForm.FormStyleConfigProperty.getTokenReference()- Parameters:
tokenReference- A reference to a design token to use to bind the form's style properties to an existing theme.- Returns:
this
-
value
Sets the value ofCfnForm.FormStyleConfigProperty.getValue()- Parameters:
value- The value of the style setting.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnForm.FormStyleConfigProperty>- Returns:
- a new instance of
CfnForm.FormStyleConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-