Interface Recommendation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Recommendation.Builder,
,Recommendation> SdkBuilder<Recommendation.Builder,
,Recommendation> SdkPojo
- Enclosing class:
Recommendation
-
Method Summary
Modifier and TypeMethodDescriptionallMatchesCount
(Integer allMatchesCount) How many different places in the profile graph triggered a match.allMatchesSum
(Double allMatchesSum) How much of the total sample count is potentially affected.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.The pattern that analysis recognized in the profile to make this recommendation.The start time of the profile that was used by this analysis.topMatches
(Collection<Match> topMatches) List of the matches with most impact.topMatches
(Consumer<Match.Builder>... topMatches) List of the matches with most impact.topMatches
(Match... topMatches) List of the matches with most impact.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
allMatchesCount
How many different places in the profile graph triggered a match.
- Parameters:
allMatchesCount
- How many different places in the profile graph triggered a match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allMatchesSum
How much of the total sample count is potentially affected.
- Parameters:
allMatchesSum
- How much of the total sample count is potentially affected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pattern
The pattern that analysis recognized in the profile to make this recommendation.
- Parameters:
pattern
- The pattern that analysis recognized in the profile to make this recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaPattern.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topattern(Pattern)
.- Parameters:
pattern
- a consumer that will call methods onPattern.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topMatches
List of the matches with most impact.
- Parameters:
topMatches
- List of the matches with most impact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topMatches
List of the matches with most impact.
- Parameters:
topMatches
- List of the matches with most impact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaMatch.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totopMatches(List<Match>)
.- Parameters:
topMatches
- a consumer that will call methods onMatch.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-