@Generated(value="software.amazon.awssdk:codegen") public final class Answer extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Answer.Builder,Answer>
An answer of the question.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Answer.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Answer.Builder |
builder() |
List<Choice> |
choices()
Returns the value of the Choices property for this object.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasChoices()
Returns true if the Choices property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasSelectedChoices()
Returns true if the SelectedChoices property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
String |
helpfulResourceUrl()
Returns the value of the HelpfulResourceUrl property for this object.
|
String |
improvementPlanUrl()
Returns the value of the ImprovementPlanUrl property for this object.
|
Boolean |
isApplicable()
Returns the value of the IsApplicable property for this object.
|
String |
notes()
Returns the value of the Notes property for this object.
|
String |
pillarId()
Returns the value of the PillarId property for this object.
|
String |
questionDescription()
Returns the value of the QuestionDescription property for this object.
|
String |
questionId()
Returns the value of the QuestionId property for this object.
|
String |
questionTitle()
Returns the value of the QuestionTitle property for this object.
|
Risk |
risk()
Returns the value of the Risk property for this object.
|
String |
riskAsString()
Returns the value of the Risk property for this object.
|
List<SdkField<?>> |
sdkFields() |
List<String> |
selectedChoices()
Returns the value of the SelectedChoices property for this object.
|
static Class<? extends Answer.Builder> |
serializableBuilderClass() |
Answer.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String questionId()
public final String pillarId()
public final String questionTitle()
public final String questionDescription()
public final String improvementPlanUrl()
public final String helpfulResourceUrl()
public final boolean hasChoices()
public final List<Choice> choices()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasChoices() to see if a value was sent in this field.
public final boolean hasSelectedChoices()
public final List<String> selectedChoices()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSelectedChoices() to see if a value was sent in this field.
public final Boolean isApplicable()
public final Risk risk()
If the service returns an enum value that is not available in the current SDK version, risk will return
Risk.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
riskAsString().
Riskpublic final String riskAsString()
If the service returns an enum value that is not available in the current SDK version, risk will return
Risk.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
riskAsString().
Riskpublic final String notes()
public Answer.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Answer.Builder,Answer>public static Answer.Builder builder()
public static Class<? extends Answer.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.