@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CompositeSlotTypeSetting extends Object implements Serializable, Cloneable, StructuredPojo
A composite slot is a combination of two or more slots that capture multiple pieces of information in a single user input.
Constructor and Description |
---|
CompositeSlotTypeSetting() |
Modifier and Type | Method and Description |
---|---|
CompositeSlotTypeSetting |
clone() |
boolean |
equals(Object obj) |
List<SubSlotTypeComposition> |
getSubSlots()
Subslots in the composite slot.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSubSlots(Collection<SubSlotTypeComposition> subSlots)
Subslots in the composite slot.
|
String |
toString()
Returns a string representation of this object.
|
CompositeSlotTypeSetting |
withSubSlots(Collection<SubSlotTypeComposition> subSlots)
Subslots in the composite slot.
|
CompositeSlotTypeSetting |
withSubSlots(SubSlotTypeComposition... subSlots)
Subslots in the composite slot.
|
public List<SubSlotTypeComposition> getSubSlots()
Subslots in the composite slot.
public void setSubSlots(Collection<SubSlotTypeComposition> subSlots)
Subslots in the composite slot.
subSlots
- Subslots in the composite slot.public CompositeSlotTypeSetting withSubSlots(SubSlotTypeComposition... subSlots)
Subslots in the composite slot.
NOTE: This method appends the values to the existing list (if any). Use
setSubSlots(java.util.Collection)
or withSubSlots(java.util.Collection)
if you want to override
the existing values.
subSlots
- Subslots in the composite slot.public CompositeSlotTypeSetting withSubSlots(Collection<SubSlotTypeComposition> subSlots)
Subslots in the composite slot.
subSlots
- Subslots in the composite slot.public String toString()
toString
in class Object
Object.toString()
public CompositeSlotTypeSetting clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.