@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComponentChild extends Object implements Serializable, Cloneable, StructuredPojo
A nested UI configuration within a parent Component
.
Constructor and Description |
---|
ComponentChild() |
Modifier and Type | Method and Description |
---|---|
ComponentChild |
addEventsEntry(String key,
ComponentEvent value)
Add a single Events entry
|
ComponentChild |
addPropertiesEntry(String key,
ComponentProperty value)
Add a single Properties entry
|
ComponentChild |
clearEventsEntries()
Removes all the entries added into Events.
|
ComponentChild |
clearPropertiesEntries()
Removes all the entries added into Properties.
|
ComponentChild |
clone() |
boolean |
equals(Object obj) |
List<ComponentChild> |
getChildren()
The list of
ComponentChild instances for this component. |
String |
getComponentType()
The type of the child component.
|
Map<String,ComponentEvent> |
getEvents()
Describes the events that can be raised on the child component.
|
String |
getName()
The name of the child component.
|
Map<String,ComponentProperty> |
getProperties()
Describes the properties of the child component.
|
String |
getSourceId()
The unique ID of the child component in its original source system, such as Figma.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setChildren(Collection<ComponentChild> children)
The list of
ComponentChild instances for this component. |
void |
setComponentType(String componentType)
The type of the child component.
|
void |
setEvents(Map<String,ComponentEvent> events)
Describes the events that can be raised on the child component.
|
void |
setName(String name)
The name of the child component.
|
void |
setProperties(Map<String,ComponentProperty> properties)
Describes the properties of the child component.
|
void |
setSourceId(String sourceId)
The unique ID of the child component in its original source system, such as Figma.
|
String |
toString()
Returns a string representation of this object.
|
ComponentChild |
withChildren(Collection<ComponentChild> children)
The list of
ComponentChild instances for this component. |
ComponentChild |
withChildren(ComponentChild... children)
The list of
ComponentChild instances for this component. |
ComponentChild |
withComponentType(String componentType)
The type of the child component.
|
ComponentChild |
withEvents(Map<String,ComponentEvent> events)
Describes the events that can be raised on the child component.
|
ComponentChild |
withName(String name)
The name of the child component.
|
ComponentChild |
withProperties(Map<String,ComponentProperty> properties)
Describes the properties of the child component.
|
ComponentChild |
withSourceId(String sourceId)
The unique ID of the child component in its original source system, such as Figma.
|
public void setComponentType(String componentType)
The type of the child component.
componentType
- The type of the child component.public String getComponentType()
The type of the child component.
public ComponentChild withComponentType(String componentType)
The type of the child component.
componentType
- The type of the child component.public void setName(String name)
The name of the child component.
name
- The name of the child component.public String getName()
The name of the child component.
public ComponentChild withName(String name)
The name of the child component.
name
- The name of the child component.public Map<String,ComponentProperty> getProperties()
Describes the properties of the child component. You can't specify tags
as a valid property for
properties
.
tags
as a valid property
for properties
.public void setProperties(Map<String,ComponentProperty> properties)
Describes the properties of the child component. You can't specify tags
as a valid property for
properties
.
properties
- Describes the properties of the child component. You can't specify tags
as a valid property
for properties
.public ComponentChild withProperties(Map<String,ComponentProperty> properties)
Describes the properties of the child component. You can't specify tags
as a valid property for
properties
.
properties
- Describes the properties of the child component. You can't specify tags
as a valid property
for properties
.public ComponentChild addPropertiesEntry(String key, ComponentProperty value)
public ComponentChild clearPropertiesEntries()
public List<ComponentChild> getChildren()
The list of ComponentChild
instances for this component.
ComponentChild
instances for this component.public void setChildren(Collection<ComponentChild> children)
The list of ComponentChild
instances for this component.
children
- The list of ComponentChild
instances for this component.public ComponentChild withChildren(ComponentChild... children)
The list of ComponentChild
instances for this 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 list of ComponentChild
instances for this component.public ComponentChild withChildren(Collection<ComponentChild> children)
The list of ComponentChild
instances for this component.
children
- The list of ComponentChild
instances for this component.public Map<String,ComponentEvent> getEvents()
Describes the events that can be raised on the child component. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.
public void setEvents(Map<String,ComponentEvent> events)
Describes the events that can be raised on the child component. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.
events
- Describes the events that can be raised on the child component. Use for the workflow feature in Amplify
Studio that allows you to bind events and actions to components.public ComponentChild withEvents(Map<String,ComponentEvent> events)
Describes the events that can be raised on the child component. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.
events
- Describes the events that can be raised on the child component. Use for the workflow feature in Amplify
Studio that allows you to bind events and actions to components.public ComponentChild addEventsEntry(String key, ComponentEvent value)
public ComponentChild clearEventsEntries()
public void setSourceId(String sourceId)
The unique ID of the child component in its original source system, such as Figma.
sourceId
- The unique ID of the child component in its original source system, such as Figma.public String getSourceId()
The unique ID of the child component in its original source system, such as Figma.
public ComponentChild withSourceId(String sourceId)
The unique ID of the child component in its original source system, such as Figma.
sourceId
- The unique ID of the child component in its original source system, such as Figma.public String toString()
toString
in class Object
Object.toString()
public ComponentChild clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.