Interface ComponentProperty.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ComponentProperty.Builder,ComponentProperty>,SdkBuilder<ComponentProperty.Builder,ComponentProperty>,SdkPojo
- Enclosing class:
- ComponentProperty
public static interface ComponentProperty.Builder extends SdkPojo, CopyableBuilder<ComponentProperty.Builder,ComponentProperty>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ComponentProperty.BuilderbindingProperties(Consumer<ComponentPropertyBindingProperties.Builder> bindingProperties)The information to bind the component property to data at runtime.ComponentProperty.BuilderbindingProperties(ComponentPropertyBindingProperties bindingProperties)The information to bind the component property to data at runtime.ComponentProperty.Builderbindings(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.ComponentProperty.BuildercollectionBindingProperties(ComponentPropertyBindingProperties collectionBindingProperties)The information to bind the component property to data at runtime.ComponentProperty.BuildercomponentName(String componentName)The name of the component that is affected by an event.ComponentProperty.Builderconcat(Collection<ComponentProperty> concat)A list of component properties to concatenate to create the value to assign to this component property.ComponentProperty.Builderconcat(Consumer<ComponentProperty.Builder>... concat)A list of component properties to concatenate to create the value to assign to this component property.ComponentProperty.Builderconcat(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.ComponentProperty.Buildercondition(ComponentConditionProperty condition)The conditional expression to use to assign a value to the component property.ComponentProperty.Builderconfigured(Boolean configured)Specifies whether the user configured the property in Amplify Studio after importing it.ComponentProperty.BuilderdefaultValue(String defaultValue)The default value to assign to the component property.ComponentProperty.Builderevent(String event)An event that occurs in your app.ComponentProperty.BuilderimportedValue(String importedValue)The default value assigned to the property when the component is imported into an app.ComponentProperty.Buildermodel(String model)The data model to use to assign a value to the component property.ComponentProperty.Builderproperty(String property)The name of the component's property that is affected by an event.ComponentProperty.Buildertype(String type)The component type.ComponentProperty.BuilderuserAttribute(String userAttribute)An authenticated user attribute to use to assign a value to the component property.ComponentProperty.Buildervalue(String value)The value to assign to the component property.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
value
ComponentProperty.Builder value(String value)
The 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.
-
bindingProperties
ComponentProperty.Builder bindingProperties(ComponentPropertyBindingProperties bindingProperties)
The 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.
-
bindingProperties
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.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 onComponentPropertyBindingProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
bindingProperties(ComponentPropertyBindingProperties)
-
collectionBindingProperties
ComponentProperty.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.
-
collectionBindingProperties
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.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 onComponentPropertyBindingProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
collectionBindingProperties(ComponentPropertyBindingProperties)
-
defaultValue
ComponentProperty.Builder defaultValue(String defaultValue)
The 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.
-
model
ComponentProperty.Builder model(String model)
The 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.
-
bindings
ComponentProperty.Builder bindings(Map<String,FormBindingElement> bindings)
The 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.
-
event
ComponentProperty.Builder event(String event)
An 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.
-
userAttribute
ComponentProperty.Builder userAttribute(String userAttribute)
An 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.
-
concat
ComponentProperty.Builder concat(Collection<ComponentProperty> concat)
A 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.
-
concat
ComponentProperty.Builder concat(ComponentProperty... concat)
A 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.
-
concat
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.Builderavoiding the need to create one manually viaComponentProperty.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#concat(List.) - Parameters:
concat- a consumer that will call methods onComponentProperty.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#concat(java.util.Collection)
-
condition
ComponentProperty.Builder condition(ComponentConditionProperty condition)
The 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.
-
condition
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.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 onComponentConditionProperty.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
condition(ComponentConditionProperty)
-
configured
ComponentProperty.Builder configured(Boolean configured)
Specifies 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.
-
type
ComponentProperty.Builder type(String type)
The component type.
- Parameters:
type- The component type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importedValue
ComponentProperty.Builder importedValue(String importedValue)
The 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.
-
componentName
ComponentProperty.Builder componentName(String componentName)
The 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.
-
property
ComponentProperty.Builder property(String property)
The 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.
-
-