Interface Insight.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Insight.Builder,
,Insight> SdkBuilder<Insight.Builder,
,Insight> SdkPojo
- Enclosing class:
Insight
-
Method Summary
Modifier and TypeMethodDescriptionbaselineData
(Collection<Data> baselineData) Metric names and values from the timeframe used as baseline to generate the insight.baselineData
(Consumer<Data.Builder>... baselineData) Metric names and values from the timeframe used as baseline to generate the insight.baselineData
(Data... baselineData) Metric names and values from the timeframe used as baseline to generate the insight.Indicates if the insight is causal or correlated insight.context
(ContextType context) Indicates if the insight is causal or correlated insight.description
(String description) Description of the insight.The end time of the insight.insightData
(Collection<Data> insightData) List of data objects containing metrics and references from the time range while generating the insight.insightData
(Consumer<Data.Builder>... insightData) List of data objects containing metrics and references from the time range while generating the insight.insightData
(Data... insightData) List of data objects containing metrics and references from the time range while generating the insight.The unique identifier for the insight.insightType
(String insightType) The type of insight.recommendations
(Collection<Recommendation> recommendations) List of recommendations for the insight.recommendations
(Consumer<Recommendation.Builder>... recommendations) List of recommendations for the insight.recommendations
(Recommendation... recommendations) List of recommendations for the insight.The severity of the insight.The severity of the insight.The start time of the insight.supportingInsights
(Collection<Insight> supportingInsights) List of supporting insights that provide additional factors for the insight.supportingInsights
(Consumer<Insight.Builder>... supportingInsights) List of supporting insights that provide additional factors for the insight.supportingInsights
(Insight... supportingInsights) List of supporting insights that provide additional factors for the insight.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
-
insightId
The unique identifier for the insight. For example,
insight-12345678901234567
.- Parameters:
insightId
- The unique identifier for the insight. For example,insight-12345678901234567
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insightType
The type of insight. For example,
HighDBLoad
,HighCPU
, orDominatingSQLs
.- Parameters:
insightType
- The type of insight. For example,HighDBLoad
,HighCPU
, orDominatingSQLs
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
context
Indicates if the insight is causal or correlated insight.
- Parameters:
context
- Indicates if the insight is causal or correlated insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
context
Indicates if the insight is causal or correlated insight.
- Parameters:
context
- Indicates if the insight is causal or correlated insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
The start time of the insight. For example,
2018-10-30T00:00:00Z
.- Parameters:
startTime
- The start time of the insight. For example,2018-10-30T00:00:00Z
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The end time of the insight. For example,
2018-10-30T00:00:00Z
.- Parameters:
endTime
- The end time of the insight. For example,2018-10-30T00:00:00Z
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severity
The severity of the insight. The values are:
Low
,Medium
, orHigh
.- Parameters:
severity
- The severity of the insight. The values are:Low
,Medium
, orHigh
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
severity
The severity of the insight. The values are:
Low
,Medium
, orHigh
.- Parameters:
severity
- The severity of the insight. The values are:Low
,Medium
, orHigh
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
supportingInsights
List of supporting insights that provide additional factors for the insight.
- Parameters:
supportingInsights
- List of supporting insights that provide additional factors for the insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportingInsights
List of supporting insights that provide additional factors for the insight.
- Parameters:
supportingInsights
- List of supporting insights that provide additional factors for the insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportingInsights
List of supporting insights that provide additional factors for the insight.
This is a convenience method that creates an instance of theInsight.Builder
avoiding the need to create one manually viaInsight.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosupportingInsights(List<Insight>)
.- Parameters:
supportingInsights
- a consumer that will call methods onInsight.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
Description of the insight. For example:
A high severity Insight found between 02:00 to 02:30, where there was an unusually high DB load 600x above baseline. Likely performance impact
.- Parameters:
description
- Description of the insight. For example:A high severity Insight found between 02:00 to 02:30, where there was an unusually high DB load 600x above baseline. Likely performance impact
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendations
List of recommendations for the insight. For example,
Investigate the following SQLs that contributed to 100% of the total DBLoad during that time period: sql-id
.- Parameters:
recommendations
- List of recommendations for the insight. For example,Investigate the following SQLs that contributed to 100% of the total DBLoad during that time period: sql-id
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendations
List of recommendations for the insight. For example,
Investigate the following SQLs that contributed to 100% of the total DBLoad during that time period: sql-id
.- Parameters:
recommendations
- List of recommendations for the insight. For example,Investigate the following SQLs that contributed to 100% of the total DBLoad during that time period: sql-id
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendations
List of recommendations for the insight. For example,
This is a convenience method that creates an instance of theInvestigate the following SQLs that contributed to 100% of the total DBLoad during that time period: sql-id
.Recommendation.Builder
avoiding the need to create one manually viaRecommendation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecommendations(List<Recommendation>)
.- Parameters:
recommendations
- a consumer that will call methods onRecommendation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
insightData
List of data objects containing metrics and references from the time range while generating the insight.
- Parameters:
insightData
- List of data objects containing metrics and references from the time range while generating the insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insightData
List of data objects containing metrics and references from the time range while generating the insight.
- Parameters:
insightData
- List of data objects containing metrics and references from the time range while generating the insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insightData
List of data objects containing metrics and references from the time range while generating the insight.
This is a convenience method that creates an instance of theData.Builder
avoiding the need to create one manually viaData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinsightData(List<Data>)
.- Parameters:
insightData
- a consumer that will call methods onData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
baselineData
Metric names and values from the timeframe used as baseline to generate the insight.
- Parameters:
baselineData
- Metric names and values from the timeframe used as baseline to generate the insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baselineData
Metric names and values from the timeframe used as baseline to generate the insight.
- Parameters:
baselineData
- Metric names and values from the timeframe used as baseline to generate the insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
baselineData
Metric names and values from the timeframe used as baseline to generate the insight.
This is a convenience method that creates an instance of theData.Builder
avoiding the need to create one manually viaData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobaselineData(List<Data>)
.- Parameters:
baselineData
- a consumer that will call methods onData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-