Class CfnComponentPropsMixin.ComponentBindingPropertiesValuePropertiesProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.amplifyuibuilder.CfnComponentPropsMixin.ComponentBindingPropertiesValuePropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnComponentPropsMixin.ComponentBindingPropertiesValuePropertiesProperty>
- Enclosing interface:
CfnComponentPropsMixin.ComponentBindingPropertiesValuePropertiesProperty
@Stability(Stable)
public static final class CfnComponentPropsMixin.ComponentBindingPropertiesValuePropertiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnComponentPropsMixin.ComponentBindingPropertiesValuePropertiesProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.defaultValue(String defaultValue) predicates(List<? extends Object> predicates) predicates(IResolvable predicates) userAttribute(String userAttribute)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
@Stability(Stable) public CfnComponentPropsMixin.ComponentBindingPropertiesValuePropertiesProperty.Builder bucket(String bucket) Sets the value ofCfnComponentPropsMixin.ComponentBindingPropertiesValuePropertiesProperty.getBucket()- Parameters:
bucket- An Amazon S3 bucket.- Returns:
this
-
defaultValue
@Stability(Stable) public CfnComponentPropsMixin.ComponentBindingPropertiesValuePropertiesProperty.Builder defaultValue(String defaultValue) Sets the value ofCfnComponentPropsMixin.ComponentBindingPropertiesValuePropertiesProperty.getDefaultValue()- Parameters:
defaultValue- The default value to assign to the property.- Returns:
this
-
field
@Stability(Stable) public CfnComponentPropsMixin.ComponentBindingPropertiesValuePropertiesProperty.Builder field(String field) Sets the value ofCfnComponentPropsMixin.ComponentBindingPropertiesValuePropertiesProperty.getField()- Parameters:
field- The field to bind the data to.- Returns:
this
-
key
@Stability(Stable) public CfnComponentPropsMixin.ComponentBindingPropertiesValuePropertiesProperty.Builder key(String key) - Parameters:
key- The storage key for an Amazon S3 bucket.- Returns:
this
-
model
@Stability(Stable) public CfnComponentPropsMixin.ComponentBindingPropertiesValuePropertiesProperty.Builder model(String model) Sets the value ofCfnComponentPropsMixin.ComponentBindingPropertiesValuePropertiesProperty.getModel()- Parameters:
model- An Amplify DataStore model.- Returns:
this
-
predicates
@Stability(Stable) public CfnComponentPropsMixin.ComponentBindingPropertiesValuePropertiesProperty.Builder predicates(IResolvable predicates) Sets the value ofCfnComponentPropsMixin.ComponentBindingPropertiesValuePropertiesProperty.getPredicates()- Parameters:
predicates- A list of predicates for binding a component's properties to data.- Returns:
this
-
predicates
@Stability(Stable) public CfnComponentPropsMixin.ComponentBindingPropertiesValuePropertiesProperty.Builder predicates(List<? extends Object> predicates) Sets the value ofCfnComponentPropsMixin.ComponentBindingPropertiesValuePropertiesProperty.getPredicates()- Parameters:
predicates- A list of predicates for binding a component's properties to data.- Returns:
this
-
slotName
@Stability(Stable) public CfnComponentPropsMixin.ComponentBindingPropertiesValuePropertiesProperty.Builder slotName(String slotName) Sets the value ofCfnComponentPropsMixin.ComponentBindingPropertiesValuePropertiesProperty.getSlotName()- Parameters:
slotName- The name of a component slot.- Returns:
this
-
userAttribute
@Stability(Stable) public CfnComponentPropsMixin.ComponentBindingPropertiesValuePropertiesProperty.Builder userAttribute(String userAttribute) Sets the value ofCfnComponentPropsMixin.ComponentBindingPropertiesValuePropertiesProperty.getUserAttribute()- Parameters:
userAttribute- An authenticated user attribute.- Returns:
this
-
build
@Stability(Stable) public CfnComponentPropsMixin.ComponentBindingPropertiesValuePropertiesProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnComponentPropsMixin.ComponentBindingPropertiesValuePropertiesProperty>- Returns:
- a new instance of
CfnComponentPropsMixin.ComponentBindingPropertiesValuePropertiesProperty - Throws:
NullPointerException- if any required attribute was not provided
-