Interface ComponentProperty.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<ComponentProperty.Builder,,- ComponentProperty> - SdkBuilder<ComponentProperty.Builder,,- ComponentProperty> - SdkPojo
- Enclosing class:
- ComponentProperty
- 
Method SummaryModifier and TypeMethodDescriptiondefault ComponentProperty.BuilderbindingProperties(Consumer<ComponentPropertyBindingProperties.Builder> bindingProperties) The information to bind the component property to data at runtime.bindingProperties(ComponentPropertyBindingProperties bindingProperties) The information to bind the component property to data at runtime.bindings(Map<String, FormBindingElement> bindings) The information to bind the component property to form data.default ComponentProperty.BuildercollectionBindingProperties(Consumer<ComponentPropertyBindingProperties.Builder> collectionBindingProperties) The information to bind the component property to data at runtime.collectionBindingProperties(ComponentPropertyBindingProperties collectionBindingProperties) The information to bind the component property to data at runtime.componentName(String componentName) The name of the component that is affected by an event.concat(Collection<ComponentProperty> concat) A list of component properties to concatenate to create the value to assign to this component property.concat(Consumer<ComponentProperty.Builder>... concat) A list of component properties to concatenate to create the value to assign to this component property.concat(ComponentProperty... concat) A list of component properties to concatenate to create the value to assign to this component property.default ComponentProperty.Buildercondition(Consumer<ComponentConditionProperty.Builder> condition) The conditional expression to use to assign a value to the component property.condition(ComponentConditionProperty condition) The conditional expression to use to assign a value to the component property.configured(Boolean configured) Specifies whether the user configured the property in Amplify Studio after importing it.defaultValue(String defaultValue) The default value to assign to the component property.An event that occurs in your app.importedValue(String importedValue) The default value assigned to the property when the component is imported into an app.The data model to use to assign a value to the component property.The name of the component's property that is affected by an event.The component type.userAttribute(String userAttribute) An authenticated user attribute to use to assign a value to the component property.The value to assign to the component property.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
valueThe value to assign to the component property. - Parameters:
- value- The value to assign to the component property.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
bindingPropertiesThe information to bind the component property to data at runtime. - Parameters:
- bindingProperties- The information to bind the component property to data at runtime.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
bindingPropertiesdefault ComponentProperty.Builder bindingProperties(Consumer<ComponentPropertyBindingProperties.Builder> bindingProperties) The information to bind the component property to data at runtime. This is a convenience method that creates an instance of theComponentPropertyBindingProperties.Builderavoiding the need to create one manually viaComponentPropertyBindingProperties.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobindingProperties(ComponentPropertyBindingProperties).- Parameters:
- bindingProperties- a consumer that will call methods on- ComponentPropertyBindingProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
collectionBindingPropertiesComponentProperty.Builder collectionBindingProperties(ComponentPropertyBindingProperties collectionBindingProperties) The information to bind the component property to data at runtime. Use this for collection components. - Parameters:
- collectionBindingProperties- The information to bind the component property to data at runtime. Use this for collection components.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
collectionBindingPropertiesdefault ComponentProperty.Builder collectionBindingProperties(Consumer<ComponentPropertyBindingProperties.Builder> collectionBindingProperties) The information to bind the component property to data at runtime. Use this for collection components. This is a convenience method that creates an instance of theComponentPropertyBindingProperties.Builderavoiding the need to create one manually viaComponentPropertyBindingProperties.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocollectionBindingProperties(ComponentPropertyBindingProperties).- Parameters:
- collectionBindingProperties- a consumer that will call methods on- ComponentPropertyBindingProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
defaultValueThe default value to assign to the component property. - Parameters:
- defaultValue- The default value to assign to the component property.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
modelThe data model to use to assign a value to the component property. - Parameters:
- model- The data model to use to assign a value to the component property.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
bindingsThe information to bind the component property to form data. - Parameters:
- bindings- The information to bind the component property to form data.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
eventAn event that occurs in your app. Use this for workflow data binding. - Parameters:
- event- An event that occurs in your app. Use this for workflow data binding.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
userAttributeAn authenticated user attribute to use to assign a value to the component property. - Parameters:
- userAttribute- An authenticated user attribute to use to assign a value to the component property.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
concatA list of component properties to concatenate to create the value to assign to this component property. - Parameters:
- concat- A list of component properties to concatenate to create the value to assign to this component property.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
concatA list of component properties to concatenate to create the value to assign to this component property. - Parameters:
- concat- A list of component properties to concatenate to create the value to assign to this component property.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
concatA list of component properties to concatenate to create the value to assign to this component property. This is a convenience method that creates an instance of theComponentProperty.Builderavoiding the need to create one manually viaComponentProperty.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconcat(List<ComponentProperty>).- Parameters:
- concat- a consumer that will call methods on- ComponentProperty.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
conditionThe conditional expression to use to assign a value to the component property. - Parameters:
- condition- The conditional expression to use to assign a value to the component property.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
conditionThe conditional expression to use to assign a value to the component property. This is a convenience method that creates an instance of theComponentConditionProperty.Builderavoiding the need to create one manually viaComponentConditionProperty.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocondition(ComponentConditionProperty).- Parameters:
- condition- a consumer that will call methods on- ComponentConditionProperty.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
configuredSpecifies whether the user configured the property in Amplify Studio after importing it. - Parameters:
- configured- Specifies whether the user configured the property in Amplify Studio after importing it.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
typeThe component type. - Parameters:
- type- The component type.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
importedValueThe default value assigned to the property when the component is imported into an app. - Parameters:
- importedValue- The default value assigned to the property when the component is imported into an app.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
componentNameThe name of the component that is affected by an event. - Parameters:
- componentName- The name of the component that is affected by an event.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
propertyThe name of the component's property that is affected by an event. - Parameters:
- property- The name of the component's property that is affected by an event.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-