Class MultipleValuesSetting
- java.lang.Object
-
- software.amazon.awssdk.services.lexmodelsv2.model.MultipleValuesSetting
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MultipleValuesSetting.Builder,MultipleValuesSetting>
@Generated("software.amazon.awssdk:codegen") public final class MultipleValuesSetting extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MultipleValuesSetting.Builder,MultipleValuesSetting>
Indicates whether a slot can return multiple values.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMultipleValuesSetting.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanallowMultipleValues()Indicates whether a slot can return multiple values.static MultipleValuesSetting.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends MultipleValuesSetting.Builder>serializableBuilderClass()MultipleValuesSetting.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
allowMultipleValues
public final Boolean allowMultipleValues()
Indicates whether a slot can return multiple values. When
true, the slot may return more than one value in a response. Whenfalse, the slot returns only a single value.Multi-value slots are only available in the en-US locale. If you set this value to
truein any other locale, Amazon Lex throws aValidationException.If the
allowMutlipleValuesis not set, the default value isfalse.- Returns:
- Indicates whether a slot can return multiple values. When
true, the slot may return more than one value in a response. Whenfalse, the slot returns only a single value.Multi-value slots are only available in the en-US locale. If you set this value to
truein any other locale, Amazon Lex throws aValidationException.If the
allowMutlipleValuesis not set, the default value isfalse.
-
toBuilder
public MultipleValuesSetting.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MultipleValuesSetting.Builder,MultipleValuesSetting>
-
builder
public static MultipleValuesSetting.Builder builder()
-
serializableBuilderClass
public static Class<? extends MultipleValuesSetting.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-