Class CfnComponent.ComponentDataConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.amplifyuibuilder.CfnComponent.ComponentDataConfigurationProperty.Builder
- All Implemented Interfaces:
 software.amazon.jsii.Builder<CfnComponent.ComponentDataConfigurationProperty>
- Enclosing interface:
 - CfnComponent.ComponentDataConfigurationProperty
 
@Stability(Stable)
public static final class CfnComponent.ComponentDataConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnComponent.ComponentDataConfigurationProperty>
A builder for 
CfnComponent.ComponentDataConfigurationProperty- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.identifiers(List<String> identifiers) Sets the value ofCfnComponent.ComponentDataConfigurationProperty.getIdentifiers()Sets the value ofCfnComponent.ComponentDataConfigurationProperty.getModel()predicate(IResolvable predicate) Sets the value ofCfnComponent.ComponentDataConfigurationProperty.getPredicate()predicate(CfnComponent.PredicateProperty predicate) Sets the value ofCfnComponent.ComponentDataConfigurationProperty.getPredicate()Sets the value ofCfnComponent.ComponentDataConfigurationProperty.getSort()sort(IResolvable sort) Sets the value ofCfnComponent.ComponentDataConfigurationProperty.getSort() 
- 
Constructor Details
- 
Builder
public Builder() 
 - 
 - 
Method Details
- 
model
@Stability(Stable) public CfnComponent.ComponentDataConfigurationProperty.Builder model(String model) Sets the value ofCfnComponent.ComponentDataConfigurationProperty.getModel()- Parameters:
 model- The name of the data model to use to bind data to a component. This parameter is required.- Returns:
 this
 - 
identifiers
@Stability(Stable) public CfnComponent.ComponentDataConfigurationProperty.Builder identifiers(List<String> identifiers) Sets the value ofCfnComponent.ComponentDataConfigurationProperty.getIdentifiers()- Parameters:
 identifiers- A list of IDs to use to bind data to a component. Use this property to bind specifically chosen data, rather than data retrieved from a query.- Returns:
 this
 - 
predicate
@Stability(Stable) public CfnComponent.ComponentDataConfigurationProperty.Builder predicate(IResolvable predicate) Sets the value ofCfnComponent.ComponentDataConfigurationProperty.getPredicate()- Parameters:
 predicate- Represents the conditional logic to use when binding data to a component. Use this property to retrieve only a subset of the data in a collection.- Returns:
 this
 - 
predicate
@Stability(Stable) public CfnComponent.ComponentDataConfigurationProperty.Builder predicate(CfnComponent.PredicateProperty predicate) Sets the value ofCfnComponent.ComponentDataConfigurationProperty.getPredicate()- Parameters:
 predicate- Represents the conditional logic to use when binding data to a component. Use this property to retrieve only a subset of the data in a collection.- Returns:
 this
 - 
sort
@Stability(Stable) public CfnComponent.ComponentDataConfigurationProperty.Builder sort(IResolvable sort) Sets the value ofCfnComponent.ComponentDataConfigurationProperty.getSort()- Parameters:
 sort- Describes how to sort the component's properties.- Returns:
 this
 - 
sort
@Stability(Stable) public CfnComponent.ComponentDataConfigurationProperty.Builder sort(List<? extends Object> sort) Sets the value ofCfnComponent.ComponentDataConfigurationProperty.getSort()- Parameters:
 sort- Describes how to sort the component's properties.- Returns:
 this
 - 
build
Builds the configured instance.- Specified by:
 buildin interfacesoftware.amazon.jsii.Builder<CfnComponent.ComponentDataConfigurationProperty>- Returns:
 - a new instance of 
CfnComponent.ComponentDataConfigurationProperty - Throws:
 NullPointerException- if any required attribute was not provided
 
 -