@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 |
addSubSlotHintsEntry(String key,
RuntimeHintDetails value)
Add a single SubSlotHints entry
|
RuntimeHintDetails |
clearSubSlotHintsEntries()
Removes all the entries added into SubSlotHints.
|
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.
|
Map<String,RuntimeHintDetails> |
getSubSlotHints()
A map of constituent sub slot names inside a composite slot in the intent and the phrases that should be added
for each sub slot.
|
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.
|
void |
setSubSlotHints(Map<String,RuntimeHintDetails> subSlotHints)
A map of constituent sub slot names inside a composite slot in the intent and the phrases that should be added
for each sub slot.
|
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.
|
RuntimeHintDetails |
withSubSlotHints(Map<String,RuntimeHintDetails> subSlotHints)
A map of constituent sub slot names inside a composite slot in the intent and the phrases that should be added
for each sub slot.
|
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 Map<String,RuntimeHintDetails> getSubSlotHints()
A map of constituent sub slot names inside a composite slot in the intent and the phrases that should be added for each sub slot. Inside each composite slot hints, this structure provides a mechanism to add granular sub slot phrases. Only sub slot hints are supported for composite slots. The intent name, composite slot name and the constituent sub slot names must exist.
public void setSubSlotHints(Map<String,RuntimeHintDetails> subSlotHints)
A map of constituent sub slot names inside a composite slot in the intent and the phrases that should be added for each sub slot. Inside each composite slot hints, this structure provides a mechanism to add granular sub slot phrases. Only sub slot hints are supported for composite slots. The intent name, composite slot name and the constituent sub slot names must exist.
subSlotHints
- A map of constituent sub slot names inside a composite slot in the intent and the phrases that should be
added for each sub slot. Inside each composite slot hints, this structure provides a mechanism to add
granular sub slot phrases. Only sub slot hints are supported for composite slots. The intent name,
composite slot name and the constituent sub slot names must exist.public RuntimeHintDetails withSubSlotHints(Map<String,RuntimeHintDetails> subSlotHints)
A map of constituent sub slot names inside a composite slot in the intent and the phrases that should be added for each sub slot. Inside each composite slot hints, this structure provides a mechanism to add granular sub slot phrases. Only sub slot hints are supported for composite slots. The intent name, composite slot name and the constituent sub slot names must exist.
subSlotHints
- A map of constituent sub slot names inside a composite slot in the intent and the phrases that should be
added for each sub slot. Inside each composite slot hints, this structure provides a mechanism to add
granular sub slot phrases. Only sub slot hints are supported for composite slots. The intent name,
composite slot name and the constituent sub slot names must exist.public RuntimeHintDetails addSubSlotHintsEntry(String key, RuntimeHintDetails value)
public RuntimeHintDetails clearSubSlotHintsEntries()
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.