Interface ResponseResourceMetricKey.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResponseResourceMetricKey.Builder,ResponseResourceMetricKey>,SdkBuilder<ResponseResourceMetricKey.Builder,ResponseResourceMetricKey>,SdkPojo
- Enclosing class:
- ResponseResourceMetricKey
public static interface ResponseResourceMetricKey.Builder extends SdkPojo, CopyableBuilder<ResponseResourceMetricKey.Builder,ResponseResourceMetricKey>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResponseResourceMetricKey.Builderdimensions(Map<String,String> dimensions)The valid dimensions for the metric.ResponseResourceMetricKey.Buildermetric(String metric)The name of a Performance Insights metric to be measured.-
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
-
metric
ResponseResourceMetricKey.Builder metric(String metric)
The name of a Performance Insights metric to be measured.
Valid values for
Metricare:-
db.load.avg- A scaled representation of the number of active sessions for the database engine. -
db.sampledload.avg- The raw number of active sessions for the database engine. -
The counter metrics listed in Performance Insights operating system counters in the Amazon Aurora User Guide.
-
The counter metrics listed in Performance Insights operating system counters in the Amazon RDS User Guide.
If the number of active sessions is less than an internal Performance Insights threshold,
db.load.avganddb.sampledload.avgare the same value. If the number of active sessions is greater than the internal threshold, Performance Insights samples the active sessions, withdb.load.avgshowing the scaled values,db.sampledload.avgshowing the raw values, anddb.sampledload.avgless thandb.load.avg. For most use cases, you can querydb.load.avgonly.- Parameters:
metric- The name of a Performance Insights metric to be measured.Valid values for
Metricare:-
db.load.avg- A scaled representation of the number of active sessions for the database engine. -
db.sampledload.avg- The raw number of active sessions for the database engine. -
The counter metrics listed in Performance Insights operating system counters in the Amazon Aurora User Guide.
-
The counter metrics listed in Performance Insights operating system counters in the Amazon RDS User Guide.
If the number of active sessions is less than an internal Performance Insights threshold,
db.load.avganddb.sampledload.avgare the same value. If the number of active sessions is greater than the internal threshold, Performance Insights samples the active sessions, withdb.load.avgshowing the scaled values,db.sampledload.avgshowing the raw values, anddb.sampledload.avgless thandb.load.avg. For most use cases, you can querydb.load.avgonly.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
dimensions
ResponseResourceMetricKey.Builder dimensions(Map<String,String> dimensions)
The valid dimensions for the metric.
- Parameters:
dimensions- The valid dimensions for the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-