Interface Recommendation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Recommendation.Builder,Recommendation>,SdkBuilder<Recommendation.Builder,Recommendation>,SdkPojo
- Enclosing class:
- Recommendation
public static interface Recommendation.Builder extends SdkPojo, CopyableBuilder<Recommendation.Builder,Recommendation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Recommendation.BuilderallMatchesCount(Integer allMatchesCount)How many different places in the profile graph triggered a match.Recommendation.BuilderallMatchesSum(Double allMatchesSum)How much of the total sample count is potentially affected.Recommendation.BuilderendTime(Instant endTime)End time of the profile that was used by this analysis.default Recommendation.Builderpattern(Consumer<Pattern.Builder> pattern)The pattern that analysis recognized in the profile to make this recommendation.Recommendation.Builderpattern(Pattern pattern)The pattern that analysis recognized in the profile to make this recommendation.Recommendation.BuilderstartTime(Instant startTime)The start time of the profile that was used by this analysis.Recommendation.BuildertopMatches(Collection<Match> topMatches)List of the matches with most impact.Recommendation.BuildertopMatches(Consumer<Match.Builder>... topMatches)List of the matches with most impact.Recommendation.BuildertopMatches(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 Detail
-
allMatchesCount
Recommendation.Builder allMatchesCount(Integer 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
Recommendation.Builder allMatchesSum(Double 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
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.
- 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
Recommendation.Builder pattern(Pattern 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
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.Builderavoiding the need to create one manually viaPattern.builder().When the
Consumercompletes,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:
pattern(Pattern)
-
startTime
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.
- 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
Recommendation.Builder topMatches(Collection<Match> 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
Recommendation.Builder topMatches(Match... 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
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.Builderavoiding the need to create one manually viaMatch.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#topMatches(List.) - 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:
#topMatches(java.util.Collection)
-
-