@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Recommendation extends Object implements Serializable, Cloneable, StructuredPojo
A potential improvement that was found from analyzing the profiling data.
Constructor and Description |
---|
Recommendation() |
Modifier and Type | Method and Description |
---|---|
Recommendation |
clone() |
boolean |
equals(Object obj) |
Integer |
getAllMatchesCount()
How many different places in the profile graph triggered a match.
|
Double |
getAllMatchesSum()
How much of the total sample count is potentially affected.
|
Date |
getEndTime()
End time of the profile that was used by this analysis.
|
Pattern |
getPattern()
The pattern that analysis recognized in the profile to make this recommendation.
|
Date |
getStartTime()
The start time of the profile that was used by this analysis.
|
List<Match> |
getTopMatches()
List of the matches with most impact.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllMatchesCount(Integer allMatchesCount)
How many different places in the profile graph triggered a match.
|
void |
setAllMatchesSum(Double allMatchesSum)
How much of the total sample count is potentially affected.
|
void |
setEndTime(Date endTime)
End time of the profile that was used by this analysis.
|
void |
setPattern(Pattern pattern)
The pattern that analysis recognized in the profile to make this recommendation.
|
void |
setStartTime(Date startTime)
The start time of the profile that was used by this analysis.
|
void |
setTopMatches(Collection<Match> topMatches)
List of the matches with most impact.
|
String |
toString()
Returns a string representation of this object.
|
Recommendation |
withAllMatchesCount(Integer allMatchesCount)
How many different places in the profile graph triggered a match.
|
Recommendation |
withAllMatchesSum(Double allMatchesSum)
How much of the total sample count is potentially affected.
|
Recommendation |
withEndTime(Date endTime)
End time of the profile that was used by this analysis.
|
Recommendation |
withPattern(Pattern pattern)
The pattern that analysis recognized in the profile to make this recommendation.
|
Recommendation |
withStartTime(Date startTime)
The start time of the profile that was used by this analysis.
|
Recommendation |
withTopMatches(Collection<Match> topMatches)
List of the matches with most impact.
|
Recommendation |
withTopMatches(Match... topMatches)
List of the matches with most impact.
|
public void setAllMatchesCount(Integer allMatchesCount)
How many different places in the profile graph triggered a match.
allMatchesCount
- How many different places in the profile graph triggered a match.public Integer getAllMatchesCount()
How many different places in the profile graph triggered a match.
public Recommendation withAllMatchesCount(Integer allMatchesCount)
How many different places in the profile graph triggered a match.
allMatchesCount
- How many different places in the profile graph triggered a match.public void setAllMatchesSum(Double allMatchesSum)
How much of the total sample count is potentially affected.
allMatchesSum
- How much of the total sample count is potentially affected.public Double getAllMatchesSum()
How much of the total sample count is potentially affected.
public Recommendation withAllMatchesSum(Double allMatchesSum)
How much of the total sample count is potentially affected.
allMatchesSum
- How much of the total sample count is potentially affected.public void setEndTime(Date 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.
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 Date getEndTime()
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 Recommendation withEndTime(Date 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.
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 void setPattern(Pattern pattern)
The pattern that analysis recognized in the profile to make this recommendation.
pattern
- The pattern that analysis recognized in the profile to make this recommendation.public Pattern getPattern()
The pattern that analysis recognized in the profile to make this recommendation.
public Recommendation withPattern(Pattern pattern)
The pattern that analysis recognized in the profile to make this recommendation.
pattern
- The pattern that analysis recognized in the profile to make this recommendation.public void setStartTime(Date 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.
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 Date getStartTime()
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 Recommendation withStartTime(Date 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.
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 List<Match> getTopMatches()
List of the matches with most impact.
public void setTopMatches(Collection<Match> topMatches)
List of the matches with most impact.
topMatches
- List of the matches with most impact.public Recommendation withTopMatches(Match... topMatches)
List of the matches with most impact.
NOTE: This method appends the values to the existing list (if any). Use
setTopMatches(java.util.Collection)
or withTopMatches(java.util.Collection)
if you want to
override the existing values.
topMatches
- List of the matches with most impact.public Recommendation withTopMatches(Collection<Match> topMatches)
List of the matches with most impact.
topMatches
- List of the matches with most impact.public String toString()
toString
in class Object
Object.toString()
public Recommendation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.