Interface PerformanceInsightsMetricsDetail.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PerformanceInsightsMetricsDetail.Builder,PerformanceInsightsMetricsDetail>,SdkBuilder<PerformanceInsightsMetricsDetail.Builder,PerformanceInsightsMetricsDetail>,SdkPojo
- Enclosing class:
- PerformanceInsightsMetricsDetail
public static interface PerformanceInsightsMetricsDetail.Builder extends SdkPojo, CopyableBuilder<PerformanceInsightsMetricsDetail.Builder,PerformanceInsightsMetricsDetail>
-
-
Method Summary
-
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
-
metricDisplayName
PerformanceInsightsMetricsDetail.Builder metricDisplayName(String 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
PerformanceInsightsMetricsDetail.Builder unit(String 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
PerformanceInsightsMetricsDetail.Builder metricQuery(PerformanceInsightsMetricQuery 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.Builderavoiding the need to create one manually viaPerformanceInsightsMetricQuery.builder().When the
Consumercompletes,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:
metricQuery(PerformanceInsightsMetricQuery)
-
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.Builderavoiding the need to create one manually viaPerformanceInsightsReferenceData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#referenceData(List.) - 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:
#referenceData(java.util.Collection)
-
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
PerformanceInsightsMetricsDetail.Builder statsAtAnomaly(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
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.Builderavoiding the need to create one manually viaPerformanceInsightsStat.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#statsAtAnomaly(List.) - 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:
#statsAtAnomaly(java.util.Collection)
-
statsAtBaseline
PerformanceInsightsMetricsDetail.Builder statsAtBaseline(Collection<PerformanceInsightsStat> statsAtBaseline)
Typical metric statistics that are not considered anomalous. When DevOps Guru analyzes metrics, it compares them to
StatsAtBaselineto help determine if they are anomalous.- Parameters:
statsAtBaseline- Typical metric statistics that are not considered anomalous. When DevOps Guru analyzes metrics, it compares them toStatsAtBaselineto 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
StatsAtBaselineto help determine if they are anomalous.- Parameters:
statsAtBaseline- Typical metric statistics that are not considered anomalous. When DevOps Guru analyzes metrics, it compares them toStatsAtBaselineto 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 theStatsAtBaselineto help determine if they are anomalous.PerformanceInsightsStat.Builderavoiding the need to create one manually viaPerformanceInsightsStat.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#statsAtBaseline(List.) - 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:
#statsAtBaseline(java.util.Collection)
-
-