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