@Generated(value="software.amazon.awssdk:codegen") public final class EvaluationFormItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EvaluationFormItem.Builder,EvaluationFormItem>
Information about an item from an evaluation form. The item must be either a section or a question.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EvaluationFormItem.Builder |
static class |
EvaluationFormItem.Type |
| Modifier and Type | Method and Description |
|---|---|
static EvaluationFormItem.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static EvaluationFormItem |
fromQuestion(Consumer<EvaluationFormQuestion.Builder> question)
Create an instance of this class with
question() initialized to the given value. |
static EvaluationFormItem |
fromQuestion(EvaluationFormQuestion question)
Create an instance of this class with
question() initialized to the given value. |
static EvaluationFormItem |
fromSection(Consumer<EvaluationFormSection.Builder> section)
Create an instance of this class with
section() initialized to the given value. |
static EvaluationFormItem |
fromSection(EvaluationFormSection section)
Create an instance of this class with
section() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
EvaluationFormQuestion |
question()
The information of the question.
|
List<SdkField<?>> |
sdkFields() |
EvaluationFormSection |
section()
The information of the section.
|
static Class<? extends EvaluationFormItem.Builder> |
serializableBuilderClass() |
EvaluationFormItem.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
EvaluationFormItem.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final EvaluationFormSection section()
The information of the section.
public final EvaluationFormQuestion question()
The information of the question.
public EvaluationFormItem.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EvaluationFormItem.Builder,EvaluationFormItem>public static EvaluationFormItem.Builder builder()
public static Class<? extends EvaluationFormItem.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static EvaluationFormItem fromSection(EvaluationFormSection section)
section() initialized to the given value.
The information of the section.
section - The information of the section.public static EvaluationFormItem fromSection(Consumer<EvaluationFormSection.Builder> section)
section() initialized to the given value.
The information of the section.
section - The information of the section.public static EvaluationFormItem fromQuestion(EvaluationFormQuestion question)
question() initialized to the given value.
The information of the question.
question - The information of the question.public static EvaluationFormItem fromQuestion(Consumer<EvaluationFormQuestion.Builder> question)
question() initialized to the given value.
The information of the question.
question - The information of the question.public EvaluationFormItem.Type type()
EvaluationFormItem.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 EvaluationFormItem.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.