@Generated(value="software.amazon.awssdk:codegen") public final class ImprovementSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ImprovementSummary.Builder,ImprovementSummary>
An improvement summary of a lens review in a workload.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ImprovementSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ImprovementSummary.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasImprovementPlans()
For responses, this returns true if the service returned a value for the ImprovementPlans property.
|
List<ChoiceImprovementPlan> |
improvementPlans()
The improvement plan details.
|
String |
improvementPlanUrl()
Returns the value of the ImprovementPlanUrl 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() |
static Class<? extends ImprovementSummary.Builder> |
serializableBuilderClass() |
ImprovementSummary.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 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 improvementPlanUrl()
public final boolean hasImprovementPlans()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<ChoiceImprovementPlan> improvementPlans()
The improvement plan details.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasImprovementPlans() method.
public ImprovementSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ImprovementSummary.Builder,ImprovementSummary>public static ImprovementSummary.Builder builder()
public static Class<? extends ImprovementSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.