public static interface ComponentProperty.Builder extends SdkPojo, CopyableBuilder<ComponentProperty.Builder,ComponentProperty>
| Modifier and Type | Method and Description |
|---|---|
ComponentProperty.Builder |
bindingProperties(ComponentPropertyBindingProperties bindingProperties)
The information to bind the component property to data at runtime.
|
default ComponentProperty.Builder |
bindingProperties(Consumer<ComponentPropertyBindingProperties.Builder> bindingProperties)
The information to bind the component property to data at runtime.
|
ComponentProperty.Builder |
bindings(Map<String,FormBindingElement> bindings)
The information to bind the component property to form data.
|
ComponentProperty.Builder |
collectionBindingProperties(ComponentPropertyBindingProperties collectionBindingProperties)
The information to bind the component property to data at runtime.
|
default ComponentProperty.Builder |
collectionBindingProperties(Consumer<ComponentPropertyBindingProperties.Builder> collectionBindingProperties)
The information to bind the component property to data at runtime.
|
ComponentProperty.Builder |
componentName(String componentName)
The name of the component that is affected by an event.
|
ComponentProperty.Builder |
concat(Collection<ComponentProperty> concat)
A list of component properties to concatenate to create the value to assign to this component property.
|
ComponentProperty.Builder |
concat(ComponentProperty... concat)
A list of component properties to concatenate to create the value to assign to this component property.
|
ComponentProperty.Builder |
concat(Consumer<ComponentProperty.Builder>... concat)
A list of component properties to concatenate to create the value to assign to this component property.
|
ComponentProperty.Builder |
condition(ComponentConditionProperty condition)
The conditional expression to use to assign a value to the component property.
|
default ComponentProperty.Builder |
condition(Consumer<ComponentConditionProperty.Builder> condition)
The conditional expression to use to assign a value to the component property.
|
ComponentProperty.Builder |
configured(Boolean configured)
Specifies whether the user configured the property in Amplify Studio after importing it.
|
ComponentProperty.Builder |
defaultValue(String defaultValue)
The default value to assign to the component property.
|
ComponentProperty.Builder |
event(String event)
An event that occurs in your app.
|
ComponentProperty.Builder |
importedValue(String importedValue)
The default value assigned to the property when the component is imported into an app.
|
ComponentProperty.Builder |
model(String model)
The data model to use to assign a value to the component property.
|
ComponentProperty.Builder |
property(String property)
The name of the component's property that is affected by an event.
|
ComponentProperty.Builder |
type(String type)
The component type.
|
ComponentProperty.Builder |
userAttribute(String userAttribute)
An authenticated user attribute to use to assign a value to the component property.
|
ComponentProperty.Builder |
value(String value)
The value to assign to the component property.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildComponentProperty.Builder value(String value)
The value to assign to the component property.
value - The value to assign to the component property.ComponentProperty.Builder bindingProperties(ComponentPropertyBindingProperties bindingProperties)
The information to bind the component property to data at runtime.
bindingProperties - The information to bind the component property to data at runtime.default 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.Builder avoiding the need to create one manually via
ComponentPropertyBindingProperties.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to bindingProperties(ComponentPropertyBindingProperties).
bindingProperties - a consumer that will call methods on ComponentPropertyBindingProperties.BuilderbindingProperties(ComponentPropertyBindingProperties)ComponentProperty.Builder collectionBindingProperties(ComponentPropertyBindingProperties collectionBindingProperties)
The information to bind the component property to data at runtime. Use this for collection components.
collectionBindingProperties - The information to bind the component property to data at runtime. Use this for collection components.default 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.Builder avoiding the need to create one manually via
ComponentPropertyBindingProperties.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to
collectionBindingProperties(ComponentPropertyBindingProperties).
collectionBindingProperties - a consumer that will call methods on ComponentPropertyBindingProperties.BuildercollectionBindingProperties(ComponentPropertyBindingProperties)ComponentProperty.Builder defaultValue(String defaultValue)
The default value to assign to the component property.
defaultValue - The default value to assign to the component property.ComponentProperty.Builder model(String model)
The data model to use to assign a value to the component property.
model - The data model to use to assign a value to the component property.ComponentProperty.Builder bindings(Map<String,FormBindingElement> bindings)
The information to bind the component property to form data.
bindings - The information to bind the component property to form data.ComponentProperty.Builder event(String event)
An event that occurs in your app. Use this for workflow data binding.
event - An event that occurs in your app. Use this for workflow data binding.ComponentProperty.Builder userAttribute(String userAttribute)
An authenticated user attribute to use to assign a value to the component property.
userAttribute - An authenticated user attribute to use to assign a value to the component property.ComponentProperty.Builder concat(Collection<ComponentProperty> concat)
A list of component properties to concatenate to create the value to assign to this component property.
concat - A list of component properties to concatenate to create the value to assign to this component
property.ComponentProperty.Builder concat(ComponentProperty... concat)
A list of component properties to concatenate to create the value to assign to this component property.
concat - A list of component properties to concatenate to create the value to assign to this component
property.ComponentProperty.Builder concat(Consumer<ComponentProperty.Builder>... concat)
A 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.Builder avoiding the need to
create one manually via
ComponentProperty.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #concat(List.
concat - a consumer that will call methods on
ComponentProperty.Builder#concat(java.util.Collection) ComponentProperty.Builder condition(ComponentConditionProperty condition)
The conditional expression to use to assign a value to the component property.
condition - The conditional expression to use to assign a value to the component property.default ComponentProperty.Builder condition(Consumer<ComponentConditionProperty.Builder> condition)
The conditional expression to use to assign a value to the component property.
This is a convenience method that creates an instance of theComponentConditionProperty.Builder
avoiding the need to create one manually via ComponentConditionProperty.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to condition(ComponentConditionProperty).
condition - a consumer that will call methods on ComponentConditionProperty.Buildercondition(ComponentConditionProperty)ComponentProperty.Builder configured(Boolean configured)
Specifies whether the user configured the property in Amplify Studio after importing it.
configured - Specifies whether the user configured the property in Amplify Studio after importing it.ComponentProperty.Builder type(String type)
The component type.
type - The component type.ComponentProperty.Builder importedValue(String importedValue)
The default value assigned to the property when the component is imported into an app.
importedValue - The default value assigned to the property when the component is imported into an app.ComponentProperty.Builder componentName(String componentName)
The name of the component that is affected by an event.
componentName - The name of the component that is affected by an event.ComponentProperty.Builder property(String property)
The name of the component's property that is affected by an event.
property - The name of the component's property that is affected by an event.Copyright © 2023. All rights reserved.