@Generated(value="software.amazon.awssdk:codegen") public final class ResponseResourceMetricKey extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResponseResourceMetricKey.Builder,ResponseResourceMetricKey>
An object describing a Performance Insights metric and one or more dimensions for that metric.
Modifier and Type | Class and Description |
---|---|
static interface |
ResponseResourceMetricKey.Builder |
Modifier and Type | Method and Description |
---|---|
static ResponseResourceMetricKey.Builder |
builder() |
Map<String,String> |
dimensions()
The valid dimensions for the metric.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
metric()
The name of a Performance Insights metric to be measured.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResponseResourceMetricKey.Builder> |
serializableBuilderClass() |
ResponseResourceMetricKey.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String metric()
The name of a Performance Insights metric to be measured.
Valid values for Metric
are:
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.
Valid values for Metric
are:
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.
public Map<String,String> dimensions()
The valid dimensions for the metric.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public ResponseResourceMetricKey.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ResponseResourceMetricKey.Builder,ResponseResourceMetricKey>
public static ResponseResourceMetricKey.Builder builder()
public static Class<? extends ResponseResourceMetricKey.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.