Interface PerformanceInsightsMetricsDetail.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PerformanceInsightsMetricsDetail.Builder,
,PerformanceInsightsMetricsDetail> SdkBuilder<PerformanceInsightsMetricsDetail.Builder,
,PerformanceInsightsMetricsDetail> SdkPojo
- Enclosing class:
PerformanceInsightsMetricsDetail
-
Method Summary
Modifier and TypeMethodDescriptionmetricDisplayName
(String metricDisplayName) The name used for a specific Performance Insights metric.metricQuery
(Consumer<PerformanceInsightsMetricQuery.Builder> metricQuery) A single query to be processed for the metric.metricQuery
(PerformanceInsightsMetricQuery metricQuery) A single query to be processed for the metric.referenceData
(Collection<PerformanceInsightsReferenceData> referenceData) For more information, seePerformanceInsightsReferenceData
.referenceData
(Consumer<PerformanceInsightsReferenceData.Builder>... referenceData) For more information, seePerformanceInsightsReferenceData
.referenceData
(PerformanceInsightsReferenceData... referenceData) For more information, seePerformanceInsightsReferenceData
.statsAtAnomaly
(Collection<PerformanceInsightsStat> statsAtAnomaly) The metric statistics during the anomalous period detected by DevOps Guru;statsAtAnomaly
(Consumer<PerformanceInsightsStat.Builder>... statsAtAnomaly) The metric statistics during the anomalous period detected by DevOps Guru;statsAtAnomaly
(PerformanceInsightsStat... statsAtAnomaly) The metric statistics during the anomalous period detected by DevOps Guru;statsAtBaseline
(Collection<PerformanceInsightsStat> statsAtBaseline) Typical metric statistics that are not considered anomalous.statsAtBaseline
(Consumer<PerformanceInsightsStat.Builder>... statsAtBaseline) Typical metric statistics that are not considered anomalous.statsAtBaseline
(PerformanceInsightsStat... statsAtBaseline) Typical metric statistics that are not considered anomalous.The unit of measure for a metric.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
-
metricDisplayName
The name used for a specific Performance Insights metric.
- Parameters:
metricDisplayName
- The name used for a specific Performance Insights metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unit
The unit of measure for a metric. For example, a session or a process.
- Parameters:
unit
- The unit of measure for a metric. For example, a session or a process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricQuery
A single query to be processed for the metric. For more information, see
PerformanceInsightsMetricQuery
.- Parameters:
metricQuery
- A single query to be processed for the metric. For more information, seePerformanceInsightsMetricQuery
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricQuery
default PerformanceInsightsMetricsDetail.Builder metricQuery(Consumer<PerformanceInsightsMetricQuery.Builder> metricQuery) A single query to be processed for the metric. For more information, see
This is a convenience method that creates an instance of thePerformanceInsightsMetricQuery
.PerformanceInsightsMetricQuery.Builder
avoiding the need to create one manually viaPerformanceInsightsMetricQuery.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometricQuery(PerformanceInsightsMetricQuery)
.- Parameters:
metricQuery
- a consumer that will call methods onPerformanceInsightsMetricQuery.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
referenceData
PerformanceInsightsMetricsDetail.Builder referenceData(Collection<PerformanceInsightsReferenceData> referenceData) For more information, see
PerformanceInsightsReferenceData
.- Parameters:
referenceData
- For more information, seePerformanceInsightsReferenceData
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
referenceData
PerformanceInsightsMetricsDetail.Builder referenceData(PerformanceInsightsReferenceData... referenceData) For more information, see
PerformanceInsightsReferenceData
.- Parameters:
referenceData
- For more information, seePerformanceInsightsReferenceData
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
referenceData
PerformanceInsightsMetricsDetail.Builder referenceData(Consumer<PerformanceInsightsReferenceData.Builder>... referenceData) For more information, see
This is a convenience method that creates an instance of thePerformanceInsightsReferenceData
.PerformanceInsightsReferenceData.Builder
avoiding the need to create one manually viaPerformanceInsightsReferenceData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreferenceData(List<PerformanceInsightsReferenceData>)
.- Parameters:
referenceData
- a consumer that will call methods onPerformanceInsightsReferenceData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statsAtAnomaly
PerformanceInsightsMetricsDetail.Builder statsAtAnomaly(Collection<PerformanceInsightsStat> statsAtAnomaly) The metric statistics during the anomalous period detected by DevOps Guru;
- Parameters:
statsAtAnomaly
- The metric statistics during the anomalous period detected by DevOps Guru;- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statsAtAnomaly
The metric statistics during the anomalous period detected by DevOps Guru;
- Parameters:
statsAtAnomaly
- The metric statistics during the anomalous period detected by DevOps Guru;- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statsAtAnomaly
PerformanceInsightsMetricsDetail.Builder statsAtAnomaly(Consumer<PerformanceInsightsStat.Builder>... statsAtAnomaly) The metric statistics during the anomalous period detected by DevOps Guru;
This is a convenience method that creates an instance of thePerformanceInsightsStat.Builder
avoiding the need to create one manually viaPerformanceInsightsStat.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatsAtAnomaly(List<PerformanceInsightsStat>)
.- Parameters:
statsAtAnomaly
- a consumer that will call methods onPerformanceInsightsStat.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statsAtBaseline
PerformanceInsightsMetricsDetail.Builder statsAtBaseline(Collection<PerformanceInsightsStat> statsAtBaseline) Typical metric statistics that are not considered anomalous. When DevOps Guru analyzes metrics, it compares them to
StatsAtBaseline
to help determine if they are anomalous.- Parameters:
statsAtBaseline
- Typical metric statistics that are not considered anomalous. When DevOps Guru analyzes metrics, it compares them toStatsAtBaseline
to help determine if they are anomalous.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statsAtBaseline
PerformanceInsightsMetricsDetail.Builder statsAtBaseline(PerformanceInsightsStat... statsAtBaseline) Typical metric statistics that are not considered anomalous. When DevOps Guru analyzes metrics, it compares them to
StatsAtBaseline
to help determine if they are anomalous.- Parameters:
statsAtBaseline
- Typical metric statistics that are not considered anomalous. When DevOps Guru analyzes metrics, it compares them toStatsAtBaseline
to help determine if they are anomalous.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statsAtBaseline
PerformanceInsightsMetricsDetail.Builder statsAtBaseline(Consumer<PerformanceInsightsStat.Builder>... statsAtBaseline) Typical metric statistics that are not considered anomalous. When DevOps Guru analyzes metrics, it compares them to
This is a convenience method that creates an instance of theStatsAtBaseline
to help determine if they are anomalous.PerformanceInsightsStat.Builder
avoiding the need to create one manually viaPerformanceInsightsStat.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatsAtBaseline(List<PerformanceInsightsStat>)
.- Parameters:
statsAtBaseline
- a consumer that will call methods onPerformanceInsightsStat.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-