@Generated(value="software.amazon.awssdk:codegen") public final class ChoiceUpdate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ChoiceUpdate.Builder,ChoiceUpdate>
A list of choices to be updated.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ChoiceUpdate.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ChoiceUpdate.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
notes()
The notes associated with a choice.
|
ChoiceReason |
reason()
The reason why a choice is non-applicable to a question in your workload.
|
String |
reasonAsString()
The reason why a choice is non-applicable to a question in your workload.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ChoiceUpdate.Builder> |
serializableBuilderClass() |
ChoiceStatus |
status()
The status of a choice.
|
String |
statusAsString()
The status of a choice.
|
ChoiceUpdate.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ChoiceStatus status()
The status of a choice.
If the service returns an enum value that is not available in the current SDK version, status will
return ChoiceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ChoiceStatuspublic final String statusAsString()
The status of a choice.
If the service returns an enum value that is not available in the current SDK version, status will
return ChoiceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ChoiceStatuspublic final ChoiceReason reason()
The reason why a choice is non-applicable to a question in your workload.
If the service returns an enum value that is not available in the current SDK version, reason will
return ChoiceReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
reasonAsString().
ChoiceReasonpublic final String reasonAsString()
The reason why a choice is non-applicable to a question in your workload.
If the service returns an enum value that is not available in the current SDK version, reason will
return ChoiceReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
reasonAsString().
ChoiceReasonpublic final String notes()
The notes associated with a choice.
public ChoiceUpdate.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ChoiceUpdate.Builder,ChoiceUpdate>public static ChoiceUpdate.Builder builder()
public static Class<? extends ChoiceUpdate.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.