@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComponentProperty extends Object implements Serializable, Cloneable, StructuredPojo
Describes the configuration for all of a component's properties. Use ComponentProperty
to specify the
values to render or bind by default.
Constructor and Description |
---|
ComponentProperty() |
Modifier and Type | Method and Description |
---|---|
ComponentProperty |
addBindingsEntry(String key,
FormBindingElement value)
Add a single Bindings entry
|
ComponentProperty |
clearBindingsEntries()
Removes all the entries added into Bindings.
|
ComponentProperty |
clone() |
boolean |
equals(Object obj) |
ComponentPropertyBindingProperties |
getBindingProperties()
The information to bind the component property to data at runtime.
|
Map<String,FormBindingElement> |
getBindings()
The information to bind the component property to form data.
|
ComponentPropertyBindingProperties |
getCollectionBindingProperties()
The information to bind the component property to data at runtime.
|
String |
getComponentName()
The name of the component that is affected by an event.
|
List<ComponentProperty> |
getConcat()
A list of component properties to concatenate to create the value to assign to this component property.
|
ComponentConditionProperty |
getCondition()
The conditional expression to use to assign a value to the component property.
|
Boolean |
getConfigured()
Specifies whether the user configured the property in Amplify Studio after importing it.
|
String |
getDefaultValue()
The default value to assign to the component property.
|
String |
getEvent()
An event that occurs in your app.
|
String |
getImportedValue()
The default value assigned to the property when the component is imported into an app.
|
String |
getModel()
The data model to use to assign a value to the component property.
|
String |
getProperty()
The name of the component's property that is affected by an event.
|
String |
getType()
The component type.
|
String |
getUserAttribute()
An authenticated user attribute to use to assign a value to the component property.
|
String |
getValue()
The value to assign to the component property.
|
int |
hashCode() |
Boolean |
isConfigured()
Specifies whether the user configured the property in Amplify Studio after importing it.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBindingProperties(ComponentPropertyBindingProperties bindingProperties)
The information to bind the component property to data at runtime.
|
void |
setBindings(Map<String,FormBindingElement> bindings)
The information to bind the component property to form data.
|
void |
setCollectionBindingProperties(ComponentPropertyBindingProperties collectionBindingProperties)
The information to bind the component property to data at runtime.
|
void |
setComponentName(String componentName)
The name of the component that is affected by an event.
|
void |
setConcat(Collection<ComponentProperty> concat)
A list of component properties to concatenate to create the value to assign to this component property.
|
void |
setCondition(ComponentConditionProperty condition)
The conditional expression to use to assign a value to the component property.
|
void |
setConfigured(Boolean configured)
Specifies whether the user configured the property in Amplify Studio after importing it.
|
void |
setDefaultValue(String defaultValue)
The default value to assign to the component property.
|
void |
setEvent(String event)
An event that occurs in your app.
|
void |
setImportedValue(String importedValue)
The default value assigned to the property when the component is imported into an app.
|
void |
setModel(String model)
The data model to use to assign a value to the component property.
|
void |
setProperty(String property)
The name of the component's property that is affected by an event.
|
void |
setType(String type)
The component type.
|
void |
setUserAttribute(String userAttribute)
An authenticated user attribute to use to assign a value to the component property.
|
void |
setValue(String value)
The value to assign to the component property.
|
String |
toString()
Returns a string representation of this object.
|
ComponentProperty |
withBindingProperties(ComponentPropertyBindingProperties bindingProperties)
The information to bind the component property to data at runtime.
|
ComponentProperty |
withBindings(Map<String,FormBindingElement> bindings)
The information to bind the component property to form data.
|
ComponentProperty |
withCollectionBindingProperties(ComponentPropertyBindingProperties collectionBindingProperties)
The information to bind the component property to data at runtime.
|
ComponentProperty |
withComponentName(String componentName)
The name of the component that is affected by an event.
|
ComponentProperty |
withConcat(Collection<ComponentProperty> concat)
A list of component properties to concatenate to create the value to assign to this component property.
|
ComponentProperty |
withConcat(ComponentProperty... concat)
A list of component properties to concatenate to create the value to assign to this component property.
|
ComponentProperty |
withCondition(ComponentConditionProperty condition)
The conditional expression to use to assign a value to the component property.
|
ComponentProperty |
withConfigured(Boolean configured)
Specifies whether the user configured the property in Amplify Studio after importing it.
|
ComponentProperty |
withDefaultValue(String defaultValue)
The default value to assign to the component property.
|
ComponentProperty |
withEvent(String event)
An event that occurs in your app.
|
ComponentProperty |
withImportedValue(String importedValue)
The default value assigned to the property when the component is imported into an app.
|
ComponentProperty |
withModel(String model)
The data model to use to assign a value to the component property.
|
ComponentProperty |
withProperty(String property)
The name of the component's property that is affected by an event.
|
ComponentProperty |
withType(String type)
The component type.
|
ComponentProperty |
withUserAttribute(String userAttribute)
An authenticated user attribute to use to assign a value to the component property.
|
ComponentProperty |
withValue(String value)
The value to assign to the component property.
|
public void setValue(String value)
The value to assign to the component property.
value
- The value to assign to the component property.public String getValue()
The value to assign to the component property.
public ComponentProperty withValue(String value)
The value to assign to the component property.
value
- The value to assign to the component property.public void setBindingProperties(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.public ComponentPropertyBindingProperties getBindingProperties()
The information to bind the component property to data at runtime.
public ComponentProperty withBindingProperties(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.public void setCollectionBindingProperties(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.public ComponentPropertyBindingProperties getCollectionBindingProperties()
The information to bind the component property to data at runtime. Use this for collection components.
public ComponentProperty withCollectionBindingProperties(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.public void setDefaultValue(String defaultValue)
The default value to assign to the component property.
defaultValue
- The default value to assign to the component property.public String getDefaultValue()
The default value to assign to the component property.
public ComponentProperty withDefaultValue(String defaultValue)
The default value to assign to the component property.
defaultValue
- The default value to assign to the component property.public void setModel(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.public String getModel()
The data model to use to assign a value to the component property.
public ComponentProperty withModel(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.public Map<String,FormBindingElement> getBindings()
The information to bind the component property to form data.
public void setBindings(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.public ComponentProperty withBindings(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.public ComponentProperty addBindingsEntry(String key, FormBindingElement value)
public ComponentProperty clearBindingsEntries()
public void setEvent(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.public String getEvent()
An event that occurs in your app. Use this for workflow data binding.
public ComponentProperty withEvent(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.public void setUserAttribute(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.public String getUserAttribute()
An authenticated user attribute to use to assign a value to the component property.
public ComponentProperty withUserAttribute(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.public List<ComponentProperty> getConcat()
A list of component properties to concatenate to create the value to assign to this component property.
public void setConcat(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.public ComponentProperty withConcat(ComponentProperty... concat)
A list of component properties to concatenate to create the value to assign to this component property.
NOTE: This method appends the values to the existing list (if any). Use
setConcat(java.util.Collection)
or withConcat(java.util.Collection)
if you want to override the
existing values.
concat
- A list of component properties to concatenate to create the value to assign to this component property.public ComponentProperty withConcat(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.public void setCondition(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.public ComponentConditionProperty getCondition()
The conditional expression to use to assign a value to the component property.
public ComponentProperty withCondition(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.public void setConfigured(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.public Boolean getConfigured()
Specifies whether the user configured the property in Amplify Studio after importing it.
public ComponentProperty withConfigured(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.public Boolean isConfigured()
Specifies whether the user configured the property in Amplify Studio after importing it.
public void setType(String type)
The component type.
type
- The component type.public String getType()
The component type.
public ComponentProperty withType(String type)
The component type.
type
- The component type.public void setImportedValue(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.public String getImportedValue()
The default value assigned to the property when the component is imported into an app.
public ComponentProperty withImportedValue(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.public void setComponentName(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.public String getComponentName()
The name of the component that is affected by an event.
public ComponentProperty withComponentName(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.public void setProperty(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.public String getProperty()
The name of the component's property that is affected by an event.
public ComponentProperty withProperty(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.public String toString()
toString
in class Object
Object.toString()
public ComponentProperty clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.