Class EvaluationFormSingleSelectQuestionOption
- java.lang.Object
-
- software.amazon.awssdk.services.connect.model.EvaluationFormSingleSelectQuestionOption
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EvaluationFormSingleSelectQuestionOption.Builder,EvaluationFormSingleSelectQuestionOption>
@Generated("software.amazon.awssdk:codegen") public final class EvaluationFormSingleSelectQuestionOption extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EvaluationFormSingleSelectQuestionOption.Builder,EvaluationFormSingleSelectQuestionOption>
Information about the automation configuration in single select questions.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEvaluationFormSingleSelectQuestionOption.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanautomaticFail()The flag to mark the option as automatic fail.static EvaluationFormSingleSelectQuestionOption.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringrefId()The identifier of the answer option.Integerscore()The score assigned to the answer option.List<SdkField<?>>sdkFields()static Class<? extends EvaluationFormSingleSelectQuestionOption.Builder>serializableBuilderClass()Stringtext()The title of the answer option.EvaluationFormSingleSelectQuestionOption.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
-
refId
public final String refId()
The identifier of the answer option. An identifier must be unique within the question.
- Returns:
- The identifier of the answer option. An identifier must be unique within the question.
-
text
public final String text()
The title of the answer option.
- Returns:
- The title of the answer option.
-
score
public final Integer score()
The score assigned to the answer option.
- Returns:
- The score assigned to the answer option.
-
automaticFail
public final Boolean automaticFail()
The flag to mark the option as automatic fail. If an automatic fail answer is provided, the overall evaluation gets a score of 0.
- Returns:
- The flag to mark the option as automatic fail. If an automatic fail answer is provided, the overall evaluation gets a score of 0.
-
toBuilder
public EvaluationFormSingleSelectQuestionOption.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EvaluationFormSingleSelectQuestionOption.Builder,EvaluationFormSingleSelectQuestionOption>
-
builder
public static EvaluationFormSingleSelectQuestionOption.Builder builder()
-
serializableBuilderClass
public static Class<? extends EvaluationFormSingleSelectQuestionOption.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.
-
-