Class CfnComponent.ComponentBindingPropertiesValueProperty.Builder
java.lang.Object
software.amazon.awscdk.services.amplifyuibuilder.CfnComponent.ComponentBindingPropertiesValueProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnComponent.ComponentBindingPropertiesValueProperty>
- Enclosing interface:
CfnComponent.ComponentBindingPropertiesValueProperty
@Stability(Stable)
public static final class CfnComponent.ComponentBindingPropertiesValueProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnComponent.ComponentBindingPropertiesValueProperty>
A builder for
CfnComponent.ComponentBindingPropertiesValueProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbindingProperties
(IResolvable bindingProperties) bindingProperties
(CfnComponent.ComponentBindingPropertiesValuePropertiesProperty bindingProperties) build()
Builds the configured instance.defaultValue
(String defaultValue) Sets the value ofCfnComponent.ComponentBindingPropertiesValueProperty.getDefaultValue()
Sets the value ofCfnComponent.ComponentBindingPropertiesValueProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bindingProperties
@Stability(Stable) public CfnComponent.ComponentBindingPropertiesValueProperty.Builder bindingProperties(IResolvable bindingProperties) - Parameters:
bindingProperties
- Describes the properties to customize with data at runtime.- Returns:
this
-
bindingProperties
@Stability(Stable) public CfnComponent.ComponentBindingPropertiesValueProperty.Builder bindingProperties(CfnComponent.ComponentBindingPropertiesValuePropertiesProperty bindingProperties) - Parameters:
bindingProperties
- Describes the properties to customize with data at runtime.- Returns:
this
-
defaultValue
@Stability(Stable) public CfnComponent.ComponentBindingPropertiesValueProperty.Builder defaultValue(String defaultValue) Sets the value ofCfnComponent.ComponentBindingPropertiesValueProperty.getDefaultValue()
- Parameters:
defaultValue
- The default value of the property.- Returns:
this
-
type
@Stability(Stable) public CfnComponent.ComponentBindingPropertiesValueProperty.Builder type(String type) Sets the value ofCfnComponent.ComponentBindingPropertiesValueProperty.getType()
- Parameters:
type
- The property type.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnComponent.ComponentBindingPropertiesValueProperty>
- Returns:
- a new instance of
CfnComponent.ComponentBindingPropertiesValueProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-