@Generated(value="software.amazon.awssdk:codegen") public final class Recommendation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Recommendation.Builder,Recommendation>
A potential improvement that was found from analyzing the profiling data.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Recommendation.Builder |
| Modifier and Type | Method and Description |
|---|---|
Integer |
allMatchesCount()
How many different places in the profile graph triggered a match.
|
Double |
allMatchesSum()
How much of the total sample count is potentially affected.
|
static Recommendation.Builder |
builder() |
Instant |
endTime()
End time of the profile that was used by this analysis.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTopMatches()
Returns true if the TopMatches property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
Pattern |
pattern()
The pattern that analysis recognized in the profile to make this recommendation.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Recommendation.Builder> |
serializableBuilderClass() |
Instant |
startTime()
The start time of the profile that was used by this analysis.
|
Recommendation.Builder |
toBuilder() |
List<Match> |
topMatches()
List of the matches with most impact.
|
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer allMatchesCount()
How many different places in the profile graph triggered a match.
public final Double allMatchesSum()
How much of the total sample count is potentially affected.
public final Instant endTime()
End time of the profile that was used by this analysis. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
public final Pattern pattern()
The pattern that analysis recognized in the profile to make this recommendation.
public final Instant startTime()
The start time of the profile that was used by this analysis. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
public final boolean hasTopMatches()
public final List<Match> topMatches()
List of the matches with most impact.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTopMatches() to see if a value was sent in this field.
public Recommendation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Recommendation.Builder,Recommendation>public static Recommendation.Builder builder()
public static Class<? extends Recommendation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.