@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RuntimeHintDetails extends Object implements Serializable, Cloneable, StructuredPojo
Provides an array of phrases that should be given preference when resolving values for a slot.
Constructor and Description |
---|
RuntimeHintDetails() |
Modifier and Type | Method and Description |
---|---|
RuntimeHintDetails |
clone() |
boolean |
equals(Object obj) |
List<RuntimeHintValue> |
getRuntimeHintValues()
One or more strings that Amazon Lex V2 should look for in the input to the bot.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRuntimeHintValues(Collection<RuntimeHintValue> runtimeHintValues)
One or more strings that Amazon Lex V2 should look for in the input to the bot.
|
String |
toString()
Returns a string representation of this object.
|
RuntimeHintDetails |
withRuntimeHintValues(Collection<RuntimeHintValue> runtimeHintValues)
One or more strings that Amazon Lex V2 should look for in the input to the bot.
|
RuntimeHintDetails |
withRuntimeHintValues(RuntimeHintValue... runtimeHintValues)
One or more strings that Amazon Lex V2 should look for in the input to the bot.
|
public List<RuntimeHintValue> getRuntimeHintValues()
One or more strings that Amazon Lex V2 should look for in the input to the bot. Each phrase is given preference when deciding on slot values.
public void setRuntimeHintValues(Collection<RuntimeHintValue> runtimeHintValues)
One or more strings that Amazon Lex V2 should look for in the input to the bot. Each phrase is given preference when deciding on slot values.
runtimeHintValues
- One or more strings that Amazon Lex V2 should look for in the input to the bot. Each phrase is given
preference when deciding on slot values.public RuntimeHintDetails withRuntimeHintValues(RuntimeHintValue... runtimeHintValues)
One or more strings that Amazon Lex V2 should look for in the input to the bot. Each phrase is given preference when deciding on slot values.
NOTE: This method appends the values to the existing list (if any). Use
setRuntimeHintValues(java.util.Collection)
or withRuntimeHintValues(java.util.Collection)
if
you want to override the existing values.
runtimeHintValues
- One or more strings that Amazon Lex V2 should look for in the input to the bot. Each phrase is given
preference when deciding on slot values.public RuntimeHintDetails withRuntimeHintValues(Collection<RuntimeHintValue> runtimeHintValues)
One or more strings that Amazon Lex V2 should look for in the input to the bot. Each phrase is given preference when deciding on slot values.
runtimeHintValues
- One or more strings that Amazon Lex V2 should look for in the input to the bot. Each phrase is given
preference when deciding on slot values.public String toString()
toString
in class Object
Object.toString()
public RuntimeHintDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.