@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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDimensions()
Returns true if the Dimensions property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
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() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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 boolean hasDimensions()
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.
You can use hasDimensions() to see if a value was sent in this field.
public ResponseResourceMetricKey.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ResponseResourceMetricKey.Builder,ResponseResourceMetricKey>public static ResponseResourceMetricKey.Builder builder()
public static Class<? extends ResponseResourceMetricKey.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.