@Generated(value="software.amazon.awssdk:codegen") public final class EvaluationAnswerData extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EvaluationAnswerData.Builder,EvaluationAnswerData>
Information about answer data for a contact evaluation. Answer data must be either string, numeric, or not applicable.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EvaluationAnswerData.Builder |
static class |
EvaluationAnswerData.Type |
| Modifier and Type | Method and Description |
|---|---|
static EvaluationAnswerData.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static EvaluationAnswerData |
fromNotApplicable(Boolean notApplicable)
Create an instance of this class with
notApplicable() initialized to the given value. |
static EvaluationAnswerData |
fromNumericValue(Double numericValue)
Create an instance of this class with
numericValue() initialized to the given value. |
static EvaluationAnswerData |
fromStringValue(String stringValue)
Create an instance of this class with
stringValue() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
notApplicable()
The flag to mark the question as not applicable.
|
Double |
numericValue()
The numeric value for an answer in a contact evaluation.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EvaluationAnswerData.Builder> |
serializableBuilderClass() |
String |
stringValue()
The string value for an answer in a contact evaluation.
|
EvaluationAnswerData.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
EvaluationAnswerData.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String stringValue()
The string value for an answer in a contact evaluation.
public final Double numericValue()
The numeric value for an answer in a contact evaluation.
public final Boolean notApplicable()
The flag to mark the question as not applicable.
public EvaluationAnswerData.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EvaluationAnswerData.Builder,EvaluationAnswerData>public static EvaluationAnswerData.Builder builder()
public static Class<? extends EvaluationAnswerData.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static EvaluationAnswerData fromStringValue(String stringValue)
stringValue() initialized to the given value.
The string value for an answer in a contact evaluation.
stringValue - The string value for an answer in a contact evaluation.public static EvaluationAnswerData fromNumericValue(Double numericValue)
numericValue() initialized to the given value.
The numeric value for an answer in a contact evaluation.
numericValue - The numeric value for an answer in a contact evaluation.public static EvaluationAnswerData fromNotApplicable(Boolean notApplicable)
notApplicable() initialized to the given value.
The flag to mark the question as not applicable.
notApplicable - The flag to mark the question as not applicable.public EvaluationAnswerData.Type type()
EvaluationAnswerData.Type.UNKNOWN_TO_SDK_VERSION if 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 be EvaluationAnswerData.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.