@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SlotDefaultValueSpecification extends Object implements Serializable, Cloneable, StructuredPojo
Defines a list of values that Amazon Lex should use as the default value for a slot.
Constructor and Description |
---|
SlotDefaultValueSpecification() |
Modifier and Type | Method and Description |
---|---|
SlotDefaultValueSpecification |
clone() |
boolean |
equals(Object obj) |
List<SlotDefaultValue> |
getDefaultValueList()
A list of default values.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDefaultValueList(Collection<SlotDefaultValue> defaultValueList)
A list of default values.
|
String |
toString()
Returns a string representation of this object.
|
SlotDefaultValueSpecification |
withDefaultValueList(Collection<SlotDefaultValue> defaultValueList)
A list of default values.
|
SlotDefaultValueSpecification |
withDefaultValueList(SlotDefaultValue... defaultValueList)
A list of default values.
|
public List<SlotDefaultValue> getDefaultValueList()
A list of default values. Amazon Lex chooses the default value to use in the order that they are presented in the list.
public void setDefaultValueList(Collection<SlotDefaultValue> defaultValueList)
A list of default values. Amazon Lex chooses the default value to use in the order that they are presented in the list.
defaultValueList
- A list of default values. Amazon Lex chooses the default value to use in the order that they are presented
in the list.public SlotDefaultValueSpecification withDefaultValueList(SlotDefaultValue... defaultValueList)
A list of default values. Amazon Lex chooses the default value to use in the order that they are presented in the list.
NOTE: This method appends the values to the existing list (if any). Use
setDefaultValueList(java.util.Collection)
or withDefaultValueList(java.util.Collection)
if you
want to override the existing values.
defaultValueList
- A list of default values. Amazon Lex chooses the default value to use in the order that they are presented
in the list.public SlotDefaultValueSpecification withDefaultValueList(Collection<SlotDefaultValue> defaultValueList)
A list of default values. Amazon Lex chooses the default value to use in the order that they are presented in the list.
defaultValueList
- A list of default values. Amazon Lex chooses the default value to use in the order that they are presented
in the list.public String toString()
toString
in class Object
Object.toString()
public SlotDefaultValueSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.