@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MultipleValuesSetting extends Object implements Serializable, Cloneable, StructuredPojo
Indicates whether a slot can return multiple values.
Constructor and Description |
---|
MultipleValuesSetting() |
Modifier and Type | Method and Description |
---|---|
MultipleValuesSetting |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAllowMultipleValues()
Indicates whether a slot can return multiple values.
|
int |
hashCode() |
Boolean |
isAllowMultipleValues()
Indicates whether a slot can return multiple values.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllowMultipleValues(Boolean allowMultipleValues)
Indicates whether a slot can return multiple values.
|
String |
toString()
Returns a string representation of this object.
|
MultipleValuesSetting |
withAllowMultipleValues(Boolean allowMultipleValues)
Indicates whether a slot can return multiple values.
|
public void setAllowMultipleValues(Boolean allowMultipleValues)
Indicates whether a slot can return multiple values. When true
, the slot may return more than one
value in a response. When false
, the slot returns only a single value.
Multi-value slots are only available in the en-US locale. If you set this value to true
in any other
locale, Amazon Lex throws a ValidationException
.
If the allowMutlipleValues
is not set, the default value is false
.
allowMultipleValues
- Indicates whether a slot can return multiple values. When true
, the slot may return more than
one value in a response. When false
, the slot returns only a single value.
Multi-value slots are only available in the en-US locale. If you set this value to true
in
any other locale, Amazon Lex throws a ValidationException
.
If the allowMutlipleValues
is not set, the default value is false
.
public Boolean getAllowMultipleValues()
Indicates whether a slot can return multiple values. When true
, the slot may return more than one
value in a response. When false
, the slot returns only a single value.
Multi-value slots are only available in the en-US locale. If you set this value to true
in any other
locale, Amazon Lex throws a ValidationException
.
If the allowMutlipleValues
is not set, the default value is false
.
true
, the slot may return more
than one value in a response. When false
, the slot returns only a single value.
Multi-value slots are only available in the en-US locale. If you set this value to true
in
any other locale, Amazon Lex throws a ValidationException
.
If the allowMutlipleValues
is not set, the default value is false
.
public MultipleValuesSetting withAllowMultipleValues(Boolean allowMultipleValues)
Indicates whether a slot can return multiple values. When true
, the slot may return more than one
value in a response. When false
, the slot returns only a single value.
Multi-value slots are only available in the en-US locale. If you set this value to true
in any other
locale, Amazon Lex throws a ValidationException
.
If the allowMutlipleValues
is not set, the default value is false
.
allowMultipleValues
- Indicates whether a slot can return multiple values. When true
, the slot may return more than
one value in a response. When false
, the slot returns only a single value.
Multi-value slots are only available in the en-US locale. If you set this value to true
in
any other locale, Amazon Lex throws a ValidationException
.
If the allowMutlipleValues
is not set, the default value is false
.
public Boolean isAllowMultipleValues()
Indicates whether a slot can return multiple values. When true
, the slot may return more than one
value in a response. When false
, the slot returns only a single value.
Multi-value slots are only available in the en-US locale. If you set this value to true
in any other
locale, Amazon Lex throws a ValidationException
.
If the allowMutlipleValues
is not set, the default value is false
.
true
, the slot may return more
than one value in a response. When false
, the slot returns only a single value.
Multi-value slots are only available in the en-US locale. If you set this value to true
in
any other locale, Amazon Lex throws a ValidationException
.
If the allowMutlipleValues
is not set, the default value is false
.
public String toString()
toString
in class Object
Object.toString()
public MultipleValuesSetting clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.