Class CfnComponent.ComponentPropertyBindingPropertiesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.amplifyuibuilder.CfnComponent.ComponentPropertyBindingPropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnComponent.ComponentPropertyBindingPropertiesProperty>
- Enclosing interface:
CfnComponent.ComponentPropertyBindingPropertiesProperty
@Stability(Stable)
public static final class CfnComponent.ComponentPropertyBindingPropertiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnComponent.ComponentPropertyBindingPropertiesProperty>
A builder for
CfnComponent.ComponentPropertyBindingPropertiesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnComponent.ComponentPropertyBindingPropertiesProperty.getField()Sets the value ofCfnComponent.ComponentPropertyBindingPropertiesProperty.getProperty()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
property
@Stability(Stable) public CfnComponent.ComponentPropertyBindingPropertiesProperty.Builder property(String property) Sets the value ofCfnComponent.ComponentPropertyBindingPropertiesProperty.getProperty()- Parameters:
property- The component property to bind to the data field. This parameter is required.- Returns:
this
-
field
@Stability(Stable) public CfnComponent.ComponentPropertyBindingPropertiesProperty.Builder field(String field) Sets the value ofCfnComponent.ComponentPropertyBindingPropertiesProperty.getField()- Parameters:
field- The data field to bind the property to.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnComponent.ComponentPropertyBindingPropertiesProperty>- Returns:
- a new instance of
CfnComponent.ComponentPropertyBindingPropertiesProperty - Throws:
NullPointerException- if any required attribute was not provided
-