Constructor Detail

PutSlotTypeRequest

Method Detail

setName

The name can't match a built-in slot type name, or a built-in slot type name with "AMAZON." removed. For example,
because there is a built-in slot type called AMAZON.DATE, you can't create a custom slot type called
DATE.

The name can't match a built-in slot type name, or a built-in slot type name with "AMAZON." removed. For
example, because there is a built-in slot type called AMAZON.DATE, you can't create a custom
slot type called DATE.

getName

The name can't match a built-in slot type name, or a built-in slot type name with "AMAZON." removed. For example,
because there is a built-in slot type called AMAZON.DATE, you can't create a custom slot type called
DATE.

The name can't match a built-in slot type name, or a built-in slot type name with "AMAZON." removed. For
example, because there is a built-in slot type called AMAZON.DATE, you can't create a custom
slot type called DATE.

withName

The name can't match a built-in slot type name, or a built-in slot type name with "AMAZON." removed. For example,
because there is a built-in slot type called AMAZON.DATE, you can't create a custom slot type called
DATE.

The name can't match a built-in slot type name, or a built-in slot type name with "AMAZON." removed. For
example, because there is a built-in slot type called AMAZON.DATE, you can't create a custom
slot type called DATE.

getEnumerationValues

A list of EnumerationValue objects that defines the values that the slot type can take. Each value
can have a list of synonyms, which are additional values that help train the machine learning model
about the values that it resolves for a slot.

When Amazon Lex resolves a slot value, it generates a resolution list that contains up to five possible values
for the slot. If you are using a Lambda function, this resolution list is passed to the function. If you are not
using a Lambda function you can choose to return the value that the user entered or the first value in the
resolution list as the slot value. The valueSelectionStrategy field indicates the option to use.

Returns:

A list of EnumerationValue objects that defines the values that the slot type can take. Each
value can have a list of synonyms, which are additional values that help train the machine
learning model about the values that it resolves for a slot.

When Amazon Lex resolves a slot value, it generates a resolution list that contains up to five possible
values for the slot. If you are using a Lambda function, this resolution list is passed to the function.
If you are not using a Lambda function you can choose to return the value that the user entered or the
first value in the resolution list as the slot value. The valueSelectionStrategy field
indicates the option to use.

setEnumerationValues

A list of EnumerationValue objects that defines the values that the slot type can take. Each value
can have a list of synonyms, which are additional values that help train the machine learning model
about the values that it resolves for a slot.

When Amazon Lex resolves a slot value, it generates a resolution list that contains up to five possible values
for the slot. If you are using a Lambda function, this resolution list is passed to the function. If you are not
using a Lambda function you can choose to return the value that the user entered or the first value in the
resolution list as the slot value. The valueSelectionStrategy field indicates the option to use.

Parameters:

enumerationValues - A list of EnumerationValue objects that defines the values that the slot type can take. Each
value can have a list of synonyms, which are additional values that help train the machine
learning model about the values that it resolves for a slot.

When Amazon Lex resolves a slot value, it generates a resolution list that contains up to five possible
values for the slot. If you are using a Lambda function, this resolution list is passed to the function.
If you are not using a Lambda function you can choose to return the value that the user entered or the
first value in the resolution list as the slot value. The valueSelectionStrategy field
indicates the option to use.

withEnumerationValues

A list of EnumerationValue objects that defines the values that the slot type can take. Each value
can have a list of synonyms, which are additional values that help train the machine learning model
about the values that it resolves for a slot.

When Amazon Lex resolves a slot value, it generates a resolution list that contains up to five possible values
for the slot. If you are using a Lambda function, this resolution list is passed to the function. If you are not
using a Lambda function you can choose to return the value that the user entered or the first value in the
resolution list as the slot value. The valueSelectionStrategy field indicates the option to use.

enumerationValues - A list of EnumerationValue objects that defines the values that the slot type can take. Each
value can have a list of synonyms, which are additional values that help train the machine
learning model about the values that it resolves for a slot.

When Amazon Lex resolves a slot value, it generates a resolution list that contains up to five possible
values for the slot. If you are using a Lambda function, this resolution list is passed to the function.
If you are not using a Lambda function you can choose to return the value that the user entered or the
first value in the resolution list as the slot value. The valueSelectionStrategy field
indicates the option to use.

Returns:

Returns a reference to this object so that method calls can be chained together.

withEnumerationValues

A list of EnumerationValue objects that defines the values that the slot type can take. Each value
can have a list of synonyms, which are additional values that help train the machine learning model
about the values that it resolves for a slot.

When Amazon Lex resolves a slot value, it generates a resolution list that contains up to five possible values
for the slot. If you are using a Lambda function, this resolution list is passed to the function. If you are not
using a Lambda function you can choose to return the value that the user entered or the first value in the
resolution list as the slot value. The valueSelectionStrategy field indicates the option to use.

Parameters:

enumerationValues - A list of EnumerationValue objects that defines the values that the slot type can take. Each
value can have a list of synonyms, which are additional values that help train the machine
learning model about the values that it resolves for a slot.

When Amazon Lex resolves a slot value, it generates a resolution list that contains up to five possible
values for the slot. If you are using a Lambda function, this resolution list is passed to the function.
If you are not using a Lambda function you can choose to return the value that the user entered or the
first value in the resolution list as the slot value. The valueSelectionStrategy field
indicates the option to use.

Returns:

Returns a reference to this object so that method calls can be chained together.

setChecksum

When you create a new slot type, leave the checksum field blank. If you specify a checksum you get a
BadRequestException exception.

When you want to update a slot type, set the checksum field to the checksum of the most recent
revision of the $LATEST version. If you don't specify the checksum field, or if the
checksum does not match the $LATEST version, you get a PreconditionFailedException
exception.

Parameters:

checksum - Identifies a specific revision of the $LATEST version.

When you create a new slot type, leave the checksum field blank. If you specify a checksum
you get a BadRequestException exception.

When you want to update a slot type, set the checksum field to the checksum of the most
recent revision of the $LATEST version. If you don't specify the checksum
field, or if the checksum does not match the $LATEST version, you get a
PreconditionFailedException exception.

getChecksum

When you create a new slot type, leave the checksum field blank. If you specify a checksum you get a
BadRequestException exception.

When you want to update a slot type, set the checksum field to the checksum of the most recent
revision of the $LATEST version. If you don't specify the checksum field, or if the
checksum does not match the $LATEST version, you get a PreconditionFailedException
exception.

Returns:

Identifies a specific revision of the $LATEST version.

When you create a new slot type, leave the checksum field blank. If you specify a checksum
you get a BadRequestException exception.

When you want to update a slot type, set the checksum field to the checksum of the most
recent revision of the $LATEST version. If you don't specify the checksum
field, or if the checksum does not match the $LATEST version, you get a
PreconditionFailedException exception.

withChecksum

When you create a new slot type, leave the checksum field blank. If you specify a checksum you get a
BadRequestException exception.

When you want to update a slot type, set the checksum field to the checksum of the most recent
revision of the $LATEST version. If you don't specify the checksum field, or if the
checksum does not match the $LATEST version, you get a PreconditionFailedException
exception.

Parameters:

checksum - Identifies a specific revision of the $LATEST version.

When you create a new slot type, leave the checksum field blank. If you specify a checksum
you get a BadRequestException exception.

When you want to update a slot type, set the checksum field to the checksum of the most
recent revision of the $LATEST version. If you don't specify the checksum
field, or if the checksum does not match the $LATEST version, you get a
PreconditionFailedException exception.

Returns:

Returns a reference to this object so that method calls can be chained together.