Interface Pattern.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Pattern.Builder,Pattern>,SdkBuilder<Pattern.Builder,Pattern>,SdkPojo
- Enclosing class:
- Pattern
public static interface Pattern.Builder extends SdkPojo, CopyableBuilder<Pattern.Builder,Pattern>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Pattern.BuildercountersToAggregate(String... countersToAggregate)A list of the different counters used to determine if there is a match.Pattern.BuildercountersToAggregate(Collection<String> countersToAggregate)A list of the different counters used to determine if there is a match.Pattern.Builderdescription(String description)The description of the recommendation.Pattern.Builderid(String id)The universally unique identifier (UUID) of this pattern.Pattern.Buildername(String name)The name for this pattern.Pattern.BuilderresolutionSteps(String resolutionSteps)A string that contains the steps recommended to address the potential inefficiency.Pattern.BuildertargetFrames(Collection<? extends Collection<String>> targetFrames)A list of frame names that were searched during the analysis that generated a recommendation.Pattern.BuildertargetFrames(Collection<String>... targetFrames)A list of frame names that were searched during the analysis that generated a recommendation.Pattern.BuilderthresholdPercent(Double thresholdPercent)The percentage of time an application spends in one method that triggers a recommendation.-
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
-
countersToAggregate
Pattern.Builder countersToAggregate(Collection<String> countersToAggregate)
A list of the different counters used to determine if there is a match.
- Parameters:
countersToAggregate- A list of the different counters used to determine if there is a match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
countersToAggregate
Pattern.Builder countersToAggregate(String... countersToAggregate)
A list of the different counters used to determine if there is a match.
- Parameters:
countersToAggregate- A list of the different counters used to determine if there is a match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Pattern.Builder description(String description)
The description of the recommendation. This explains a potential inefficiency in a profiled application.
- Parameters:
description- The description of the recommendation. This explains a potential inefficiency in a profiled application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
Pattern.Builder id(String id)
The universally unique identifier (UUID) of this pattern.
- Parameters:
id- The universally unique identifier (UUID) of this pattern.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Pattern.Builder name(String name)
The name for this pattern.
- Parameters:
name- The name for this pattern.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resolutionSteps
Pattern.Builder resolutionSteps(String resolutionSteps)
A string that contains the steps recommended to address the potential inefficiency.
- Parameters:
resolutionSteps- A string that contains the steps recommended to address the potential inefficiency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetFrames
Pattern.Builder targetFrames(Collection<? extends Collection<String>> targetFrames)
A list of frame names that were searched during the analysis that generated a recommendation.
- Parameters:
targetFrames- A list of frame names that were searched during the analysis that generated a recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetFrames
Pattern.Builder targetFrames(Collection<String>... targetFrames)
A list of frame names that were searched during the analysis that generated a recommendation.
- Parameters:
targetFrames- A list of frame names that were searched during the analysis that generated a recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thresholdPercent
Pattern.Builder thresholdPercent(Double thresholdPercent)
The percentage of time an application spends in one method that triggers a recommendation. The percentage of time is the same as the percentage of the total gathered sample counts during analysis.
- Parameters:
thresholdPercent- The percentage of time an application spends in one method that triggers a recommendation. The percentage of time is the same as the percentage of the total gathered sample counts during analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-