@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateComponentData extends Object implements Serializable, Cloneable, StructuredPojo
Updates and saves all of the information about a component, based on component ID.
Constructor and Description |
---|
UpdateComponentData() |
Modifier and Type | Method and Description |
---|---|
UpdateComponentData |
addBindingPropertiesEntry(String key,
ComponentBindingPropertiesValue value)
Add a single BindingProperties entry
|
UpdateComponentData |
addCollectionPropertiesEntry(String key,
ComponentDataConfiguration value)
Add a single CollectionProperties entry
|
UpdateComponentData |
addOverridesEntry(String key,
Map<String,String> value)
Add a single Overrides entry
|
UpdateComponentData |
addPropertiesEntry(String key,
ComponentProperty value)
Add a single Properties entry
|
UpdateComponentData |
clearBindingPropertiesEntries()
Removes all the entries added into BindingProperties.
|
UpdateComponentData |
clearCollectionPropertiesEntries()
Removes all the entries added into CollectionProperties.
|
UpdateComponentData |
clearOverridesEntries()
Removes all the entries added into Overrides.
|
UpdateComponentData |
clearPropertiesEntries()
Removes all the entries added into Properties.
|
UpdateComponentData |
clone() |
boolean |
equals(Object obj) |
Map<String,ComponentBindingPropertiesValue> |
getBindingProperties()
The data binding information for the component's properties.
|
List<ComponentChild> |
getChildren()
The components that are instances of the main component.
|
Map<String,ComponentDataConfiguration> |
getCollectionProperties()
The configuration for binding a component's properties to a data model.
|
String |
getComponentType()
The type of the component.
|
String |
getId()
The unique ID of the component to update.
|
String |
getName()
The name of the component to update.
|
Map<String,Map<String,String>> |
getOverrides()
Describes the properties that can be overriden to customize the component.
|
Map<String,ComponentProperty> |
getProperties()
Describes the component's properties.
|
String |
getSourceId()
The unique ID of the component in its original source system, such as Figma.
|
List<ComponentVariant> |
getVariants()
A list of the unique variants of the main component being updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBindingProperties(Map<String,ComponentBindingPropertiesValue> bindingProperties)
The data binding information for the component's properties.
|
void |
setChildren(Collection<ComponentChild> children)
The components that are instances of the main component.
|
void |
setCollectionProperties(Map<String,ComponentDataConfiguration> collectionProperties)
The configuration for binding a component's properties to a data model.
|
void |
setComponentType(String componentType)
The type of the component.
|
void |
setId(String id)
The unique ID of the component to update.
|
void |
setName(String name)
The name of the component to update.
|
void |
setOverrides(Map<String,Map<String,String>> overrides)
Describes the properties that can be overriden to customize the component.
|
void |
setProperties(Map<String,ComponentProperty> properties)
Describes the component's properties.
|
void |
setSourceId(String sourceId)
The unique ID of the component in its original source system, such as Figma.
|
void |
setVariants(Collection<ComponentVariant> variants)
A list of the unique variants of the main component being updated.
|
String |
toString()
Returns a string representation of this object.
|
UpdateComponentData |
withBindingProperties(Map<String,ComponentBindingPropertiesValue> bindingProperties)
The data binding information for the component's properties.
|
UpdateComponentData |
withChildren(Collection<ComponentChild> children)
The components that are instances of the main component.
|
UpdateComponentData |
withChildren(ComponentChild... children)
The components that are instances of the main component.
|
UpdateComponentData |
withCollectionProperties(Map<String,ComponentDataConfiguration> collectionProperties)
The configuration for binding a component's properties to a data model.
|
UpdateComponentData |
withComponentType(String componentType)
The type of the component.
|
UpdateComponentData |
withId(String id)
The unique ID of the component to update.
|
UpdateComponentData |
withName(String name)
The name of the component to update.
|
UpdateComponentData |
withOverrides(Map<String,Map<String,String>> overrides)
Describes the properties that can be overriden to customize the component.
|
UpdateComponentData |
withProperties(Map<String,ComponentProperty> properties)
Describes the component's properties.
|
UpdateComponentData |
withSourceId(String sourceId)
The unique ID of the component in its original source system, such as Figma.
|
UpdateComponentData |
withVariants(Collection<ComponentVariant> variants)
A list of the unique variants of the main component being updated.
|
UpdateComponentData |
withVariants(ComponentVariant... variants)
A list of the unique variants of the main component being updated.
|
public Map<String,ComponentBindingPropertiesValue> getBindingProperties()
The data binding information for the component's properties.
public void setBindingProperties(Map<String,ComponentBindingPropertiesValue> bindingProperties)
The data binding information for the component's properties.
bindingProperties
- The data binding information for the component's properties.public UpdateComponentData withBindingProperties(Map<String,ComponentBindingPropertiesValue> bindingProperties)
The data binding information for the component's properties.
bindingProperties
- The data binding information for the component's properties.public UpdateComponentData addBindingPropertiesEntry(String key, ComponentBindingPropertiesValue value)
public UpdateComponentData clearBindingPropertiesEntries()
public List<ComponentChild> getChildren()
The components that are instances of the main component.
public void setChildren(Collection<ComponentChild> children)
The components that are instances of the main component.
children
- The components that are instances of the main component.public UpdateComponentData withChildren(ComponentChild... children)
The components that are instances of the main component.
NOTE: This method appends the values to the existing list (if any). Use
setChildren(java.util.Collection)
or withChildren(java.util.Collection)
if you want to override
the existing values.
children
- The components that are instances of the main component.public UpdateComponentData withChildren(Collection<ComponentChild> children)
The components that are instances of the main component.
children
- The components that are instances of the main component.public Map<String,ComponentDataConfiguration> getCollectionProperties()
The configuration for binding a component's properties to a data model. Use this for a collection component.
public void setCollectionProperties(Map<String,ComponentDataConfiguration> collectionProperties)
The configuration for binding a component's properties to a data model. Use this for a collection component.
collectionProperties
- The configuration for binding a component's properties to a data model. Use this for a collection
component.public UpdateComponentData withCollectionProperties(Map<String,ComponentDataConfiguration> collectionProperties)
The configuration for binding a component's properties to a data model. Use this for a collection component.
collectionProperties
- The configuration for binding a component's properties to a data model. Use this for a collection
component.public UpdateComponentData addCollectionPropertiesEntry(String key, ComponentDataConfiguration value)
public UpdateComponentData clearCollectionPropertiesEntries()
public void setComponentType(String componentType)
The type of the component. This can be an Amplify custom UI component or another custom component.
componentType
- The type of the component. This can be an Amplify custom UI component or another custom component.public String getComponentType()
The type of the component. This can be an Amplify custom UI component or another custom component.
public UpdateComponentData withComponentType(String componentType)
The type of the component. This can be an Amplify custom UI component or another custom component.
componentType
- The type of the component. This can be an Amplify custom UI component or another custom component.public void setId(String id)
The unique ID of the component to update.
id
- The unique ID of the component to update.public String getId()
The unique ID of the component to update.
public UpdateComponentData withId(String id)
The unique ID of the component to update.
id
- The unique ID of the component to update.public void setName(String name)
The name of the component to update.
name
- The name of the component to update.public String getName()
The name of the component to update.
public UpdateComponentData withName(String name)
The name of the component to update.
name
- The name of the component to update.public Map<String,Map<String,String>> getOverrides()
Describes the properties that can be overriden to customize the component.
public void setOverrides(Map<String,Map<String,String>> overrides)
Describes the properties that can be overriden to customize the component.
overrides
- Describes the properties that can be overriden to customize the component.public UpdateComponentData withOverrides(Map<String,Map<String,String>> overrides)
Describes the properties that can be overriden to customize the component.
overrides
- Describes the properties that can be overriden to customize the component.public UpdateComponentData addOverridesEntry(String key, Map<String,String> value)
public UpdateComponentData clearOverridesEntries()
public Map<String,ComponentProperty> getProperties()
Describes the component's properties.
public void setProperties(Map<String,ComponentProperty> properties)
Describes the component's properties.
properties
- Describes the component's properties.public UpdateComponentData withProperties(Map<String,ComponentProperty> properties)
Describes the component's properties.
properties
- Describes the component's properties.public UpdateComponentData addPropertiesEntry(String key, ComponentProperty value)
public UpdateComponentData clearPropertiesEntries()
public void setSourceId(String sourceId)
The unique ID of the component in its original source system, such as Figma.
sourceId
- The unique ID of the component in its original source system, such as Figma.public String getSourceId()
The unique ID of the component in its original source system, such as Figma.
public UpdateComponentData withSourceId(String sourceId)
The unique ID of the component in its original source system, such as Figma.
sourceId
- The unique ID of the component in its original source system, such as Figma.public List<ComponentVariant> getVariants()
A list of the unique variants of the main component being updated.
public void setVariants(Collection<ComponentVariant> variants)
A list of the unique variants of the main component being updated.
variants
- A list of the unique variants of the main component being updated.public UpdateComponentData withVariants(ComponentVariant... variants)
A list of the unique variants of the main component being updated.
NOTE: This method appends the values to the existing list (if any). Use
setVariants(java.util.Collection)
or withVariants(java.util.Collection)
if you want to override
the existing values.
variants
- A list of the unique variants of the main component being updated.public UpdateComponentData withVariants(Collection<ComponentVariant> variants)
A list of the unique variants of the main component being updated.
variants
- A list of the unique variants of the main component being updated.public String toString()
toString
in class Object
Object.toString()
public UpdateComponentData clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.