@Generated(value="software.amazon.awssdk:codegen") public final class AnswerSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AnswerSummary.Builder,AnswerSummary>
An answer summary of a lens review in a workload.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AnswerSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AnswerSummary.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).
|
Boolean |
isApplicable()
Returns the value of the IsApplicable property for this object.
|
String |
pillarId()
Returns the value of the PillarId 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 AnswerSummary.Builder> |
serializableBuilderClass() |
AnswerSummary.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 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 AnswerSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AnswerSummary.Builder,AnswerSummary>public static AnswerSummary.Builder builder()
public static Class<? extends AnswerSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.