public static interface Recommendation.Builder extends SdkPojo, CopyableBuilder<Recommendation.Builder,Recommendation>
| Modifier and Type | Method and Description |
|---|---|
Recommendation.Builder |
allMatchesCount(Integer allMatchesCount)
How many different places in the profile graph triggered a match.
|
Recommendation.Builder |
allMatchesSum(Double allMatchesSum)
How much of the total sample count is potentially affected.
|
Recommendation.Builder |
endTime(Instant endTime)
End time of the profile that was used by this analysis.
|
default Recommendation.Builder |
pattern(Consumer<Pattern.Builder> pattern)
The pattern that analysis recognized in the profile to make this recommendation.
|
Recommendation.Builder |
pattern(Pattern pattern)
The pattern that analysis recognized in the profile to make this recommendation.
|
Recommendation.Builder |
startTime(Instant startTime)
The start time of the profile that was used by this analysis.
|
Recommendation.Builder |
topMatches(Collection<Match> topMatches)
List of the matches with most impact.
|
Recommendation.Builder |
topMatches(Consumer<Match.Builder>... topMatches)
List of the matches with most impact.
|
Recommendation.Builder |
topMatches(Match... topMatches)
List of the matches with most impact.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRecommendation.Builder allMatchesCount(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.Recommendation.Builder allMatchesSum(Double allMatchesSum)
How much of the total sample count is potentially affected.
allMatchesSum - How much of the total sample count is potentially affected.Recommendation.Builder endTime(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.
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.Recommendation.Builder pattern(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.default Recommendation.Builder pattern(Consumer<Pattern.Builder> pattern)
The pattern that analysis recognized in the profile to make this recommendation.
This is a convenience method that creates an instance of thePattern.Builder avoiding the need to
create one manually via Pattern.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to pattern(Pattern).
pattern - a consumer that will call methods on Pattern.Builderpattern(Pattern)Recommendation.Builder startTime(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.
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.Recommendation.Builder topMatches(Collection<Match> topMatches)
List of the matches with most impact.
topMatches - List of the matches with most impact.Recommendation.Builder topMatches(Match... topMatches)
List of the matches with most impact.
topMatches - List of the matches with most impact.Recommendation.Builder topMatches(Consumer<Match.Builder>... topMatches)
List of the matches with most impact.
This is a convenience method that creates an instance of theMatch.Builder avoiding the need to create one
manually via Match.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #topMatches(List.
topMatches - a consumer that will call methods on
Match.Builder#topMatches(java.util.Collection) Copyright © 2023. All rights reserved.