Class EvaluationFormQuestionTypeProperties
- java.lang.Object
-
- software.amazon.awssdk.services.connect.model.EvaluationFormQuestionTypeProperties
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EvaluationFormQuestionTypeProperties.Builder,EvaluationFormQuestionTypeProperties>
@Generated("software.amazon.awssdk:codegen") public final class EvaluationFormQuestionTypeProperties extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EvaluationFormQuestionTypeProperties.Builder,EvaluationFormQuestionTypeProperties>
Information about properties for a question in an evaluation form. The question type properties must be either for a numeric question or a single select question.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEvaluationFormQuestionTypeProperties.Builderstatic classEvaluationFormQuestionTypeProperties.Type
-
Method Summary
-
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
-
numeric
public final EvaluationFormNumericQuestionProperties numeric()
The properties of the numeric question.
- Returns:
- The properties of the numeric question.
-
singleSelect
public final EvaluationFormSingleSelectQuestionProperties singleSelect()
The properties of the numeric question.
- Returns:
- The properties of the numeric question.
-
toBuilder
public EvaluationFormQuestionTypeProperties.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EvaluationFormQuestionTypeProperties.Builder,EvaluationFormQuestionTypeProperties>
-
builder
public static EvaluationFormQuestionTypeProperties.Builder builder()
-
serializableBuilderClass
public static Class<? extends EvaluationFormQuestionTypeProperties.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.
-
fromNumeric
public static EvaluationFormQuestionTypeProperties fromNumeric(EvaluationFormNumericQuestionProperties numeric)
Create an instance of this class withnumeric()initialized to the given value.The properties of the numeric question.
- Parameters:
numeric- The properties of the numeric question.
-
fromNumeric
public static EvaluationFormQuestionTypeProperties fromNumeric(Consumer<EvaluationFormNumericQuestionProperties.Builder> numeric)
Create an instance of this class withnumeric()initialized to the given value.The properties of the numeric question.
- Parameters:
numeric- The properties of the numeric question.
-
fromSingleSelect
public static EvaluationFormQuestionTypeProperties fromSingleSelect(EvaluationFormSingleSelectQuestionProperties singleSelect)
Create an instance of this class withsingleSelect()initialized to the given value.The properties of the numeric question.
- Parameters:
singleSelect- The properties of the numeric question.
-
fromSingleSelect
public static EvaluationFormQuestionTypeProperties fromSingleSelect(Consumer<EvaluationFormSingleSelectQuestionProperties.Builder> singleSelect)
Create an instance of this class withsingleSelect()initialized to the given value.The properties of the numeric question.
- Parameters:
singleSelect- The properties of the numeric question.
-
type
public EvaluationFormQuestionTypeProperties.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beEvaluationFormQuestionTypeProperties.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beEvaluationFormQuestionTypeProperties.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-