Class EvaluationFormQuestion
- java.lang.Object
-
- software.amazon.awssdk.services.connect.model.EvaluationFormQuestion
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EvaluationFormQuestion.Builder,EvaluationFormQuestion>
@Generated("software.amazon.awssdk:codegen") public final class EvaluationFormQuestion extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EvaluationFormQuestion.Builder,EvaluationFormQuestion>
Information about a question from an evaluation form.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEvaluationFormQuestion.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EvaluationFormQuestion.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringinstructions()The instructions of the section.BooleannotApplicableEnabled()The flag to enable not applicable answers to the question.EvaluationFormQuestionTypequestionType()The type of the question.StringquestionTypeAsString()The type of the question.EvaluationFormQuestionTypePropertiesquestionTypeProperties()The properties of the type of question.StringrefId()The identifier of the question.List<SdkField<?>>sdkFields()static Class<? extends EvaluationFormQuestion.Builder>serializableBuilderClass()Stringtitle()The title of the question.EvaluationFormQuestion.BuildertoBuilder()StringtoString()Returns a string representation of this object.Doubleweight()The scoring weight of the section.-
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
-
title
public final String title()
The title of the question.
- Returns:
- The title of the question.
-
instructions
public final String instructions()
The instructions of the section.
- Returns:
- The instructions of the section.
-
refId
public final String refId()
The identifier of the question. An identifier must be unique within the evaluation form.
- Returns:
- The identifier of the question. An identifier must be unique within the evaluation form.
-
notApplicableEnabled
public final Boolean notApplicableEnabled()
The flag to enable not applicable answers to the question.
- Returns:
- The flag to enable not applicable answers to the question.
-
questionType
public final EvaluationFormQuestionType questionType()
The type of the question.
If the service returns an enum value that is not available in the current SDK version,
questionTypewill returnEvaluationFormQuestionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromquestionTypeAsString().- Returns:
- The type of the question.
- See Also:
EvaluationFormQuestionType
-
questionTypeAsString
public final String questionTypeAsString()
The type of the question.
If the service returns an enum value that is not available in the current SDK version,
questionTypewill returnEvaluationFormQuestionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromquestionTypeAsString().- Returns:
- The type of the question.
- See Also:
EvaluationFormQuestionType
-
questionTypeProperties
public final EvaluationFormQuestionTypeProperties questionTypeProperties()
The properties of the type of question. Text questions do not have to define question type properties.
- Returns:
- The properties of the type of question. Text questions do not have to define question type properties.
-
weight
public final Double weight()
The scoring weight of the section.
- Returns:
- The scoring weight of the section.
-
toBuilder
public EvaluationFormQuestion.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EvaluationFormQuestion.Builder,EvaluationFormQuestion>
-
builder
public static EvaluationFormQuestion.Builder builder()
-
serializableBuilderClass
public static Class<? extends EvaluationFormQuestion.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.
-
-