Class CfnComponentMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.amplifyuibuilder.CfnComponentMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnComponentMixinProps>
- Enclosing interface:
CfnComponentMixinProps
@Stability(Stable)
public static final class CfnComponentMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnComponentMixinProps>
A builder for
CfnComponentMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnComponentMixinProps.getAppId()bindingProperties(Map<String, ? extends Object> bindingProperties) Sets the value ofCfnComponentMixinProps.getBindingProperties()bindingProperties(IResolvable bindingProperties) Sets the value ofCfnComponentMixinProps.getBindingProperties()build()Builds the configured instance.Sets the value ofCfnComponentMixinProps.getChildren()children(IResolvable children) Sets the value ofCfnComponentMixinProps.getChildren()collectionProperties(Map<String, ? extends Object> collectionProperties) Sets the value ofCfnComponentMixinProps.getCollectionProperties()collectionProperties(IResolvable collectionProperties) Sets the value ofCfnComponentMixinProps.getCollectionProperties()componentType(String componentType) Sets the value ofCfnComponentMixinProps.getComponentType()environmentName(String environmentName) Sets the value ofCfnComponentMixinProps.getEnvironmentName()Sets the value ofCfnComponentMixinProps.getEvents()events(IResolvable events) Sets the value ofCfnComponentMixinProps.getEvents()Sets the value ofCfnComponentMixinProps.getName()Sets the value ofCfnComponentMixinProps.getOverrides()properties(Map<String, ? extends Object> properties) Sets the value ofCfnComponentMixinProps.getProperties()properties(IResolvable properties) Sets the value ofCfnComponentMixinProps.getProperties()schemaVersion(String schemaVersion) Sets the value ofCfnComponentMixinProps.getSchemaVersion()Sets the value ofCfnComponentMixinProps.getSourceId()Sets the value ofCfnComponentMixinProps.getTags()Sets the value ofCfnComponentMixinProps.getVariants()variants(IResolvable variants) Sets the value ofCfnComponentMixinProps.getVariants()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
appId
Sets the value ofCfnComponentMixinProps.getAppId()- Parameters:
appId- The unique ID of the Amplify app associated with the component.- Returns:
this
-
bindingProperties
@Stability(Stable) public CfnComponentMixinProps.Builder bindingProperties(IResolvable bindingProperties) Sets the value ofCfnComponentMixinProps.getBindingProperties()- Parameters:
bindingProperties- The information to connect a component's properties to data at runtime. You can't specifytagsas a valid property forbindingProperties.- Returns:
this
-
bindingProperties
@Stability(Stable) public CfnComponentMixinProps.Builder bindingProperties(Map<String, ? extends Object> bindingProperties) Sets the value ofCfnComponentMixinProps.getBindingProperties()- Parameters:
bindingProperties- The information to connect a component's properties to data at runtime. You can't specifytagsas a valid property forbindingProperties.- Returns:
this
-
children
Sets the value ofCfnComponentMixinProps.getChildren()- Parameters:
children- A list of the component'sComponentChildinstances.- Returns:
this
-
children
Sets the value ofCfnComponentMixinProps.getChildren()- Parameters:
children- A list of the component'sComponentChildinstances.- Returns:
this
-
collectionProperties
@Stability(Stable) public CfnComponentMixinProps.Builder collectionProperties(IResolvable collectionProperties) Sets the value ofCfnComponentMixinProps.getCollectionProperties()- Parameters:
collectionProperties- The data binding configuration for the component's properties. Use this for a collection component. You can't specifytagsas a valid property forcollectionProperties.- Returns:
this
-
collectionProperties
@Stability(Stable) public CfnComponentMixinProps.Builder collectionProperties(Map<String, ? extends Object> collectionProperties) Sets the value ofCfnComponentMixinProps.getCollectionProperties()- Parameters:
collectionProperties- The data binding configuration for the component's properties. Use this for a collection component. You can't specifytagsas a valid property forcollectionProperties.- Returns:
this
-
componentType
Sets the value ofCfnComponentMixinProps.getComponentType()- Parameters:
componentType- The type of the component. This can be an Amplify custom UI component or another custom component.- Returns:
this
-
environmentName
Sets the value ofCfnComponentMixinProps.getEnvironmentName()- Parameters:
environmentName- The name of the backend environment that is a part of the Amplify app.- Returns:
this
-
events
Sets the value ofCfnComponentMixinProps.getEvents()- Parameters:
events- Describes the events that can be raised on the component. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.- Returns:
this
-
events
@Stability(Stable) public CfnComponentMixinProps.Builder events(Map<String, ? extends Object> events) Sets the value ofCfnComponentMixinProps.getEvents()- Parameters:
events- Describes the events that can be raised on the component. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.- Returns:
this
-
name
Sets the value ofCfnComponentMixinProps.getName()- Parameters:
name- The name of the component.- Returns:
this
-
overrides
Sets the value ofCfnComponentMixinProps.getOverrides()- Parameters:
overrides- Describes the component's properties that can be overriden in a customized instance of the component. You can't specifytagsas a valid property foroverrides.- Returns:
this
-
properties
Sets the value ofCfnComponentMixinProps.getProperties()- Parameters:
properties- Describes the component's properties. You can't specifytagsas a valid property forproperties.- Returns:
this
-
properties
@Stability(Stable) public CfnComponentMixinProps.Builder properties(Map<String, ? extends Object> properties) Sets the value ofCfnComponentMixinProps.getProperties()- Parameters:
properties- Describes the component's properties. You can't specifytagsas a valid property forproperties.- Returns:
this
-
schemaVersion
Sets the value ofCfnComponentMixinProps.getSchemaVersion()- Parameters:
schemaVersion- The schema version of the component when it was imported.- Returns:
this
-
sourceId
Sets the value ofCfnComponentMixinProps.getSourceId()- Parameters:
sourceId- The unique ID of the component in its original source system, such as Figma.- Returns:
this
-
tags
Sets the value ofCfnComponentMixinProps.getTags()- Parameters:
tags- One or more key-value pairs to use when tagging the component.- Returns:
this
-
variants
Sets the value ofCfnComponentMixinProps.getVariants()- Parameters:
variants- A list of the component's variants. A variant is a unique style configuration of a main component.- Returns:
this
-
variants
Sets the value ofCfnComponentMixinProps.getVariants()- Parameters:
variants- A list of the component's variants. A variant is a unique style configuration of a main component.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnComponentMixinProps>- Returns:
- a new instance of
CfnComponentMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-