Class CloudWatchMetricsDimension
- java.lang.Object
-
- software.amazon.awssdk.services.devopsguru.model.CloudWatchMetricsDimension
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CloudWatchMetricsDimension.Builder,CloudWatchMetricsDimension>
@Generated("software.amazon.awssdk:codegen") public final class CloudWatchMetricsDimension extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CloudWatchMetricsDimension.Builder,CloudWatchMetricsDimension>
The dimension of an Amazon CloudWatch metric that is used when DevOps Guru analyzes the resources in your account for operational problems and anomalous behavior. A dimension is a name/value pair that is part of the identity of a metric. A metric can have up to 10 dimensions. For more information, see Dimensions in the Amazon CloudWatch User Guide.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCloudWatchMetricsDimension.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CloudWatchMetricsDimension.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the CloudWatch dimension.List<SdkField<?>>sdkFields()static Class<? extends CloudWatchMetricsDimension.Builder>serializableBuilderClass()CloudWatchMetricsDimension.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringvalue()The value of the CloudWatch dimension.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
The name of the CloudWatch dimension.
- Returns:
- The name of the CloudWatch dimension.
-
value
public final String value()
The value of the CloudWatch dimension.
- Returns:
- The value of the CloudWatch dimension.
-
toBuilder
public CloudWatchMetricsDimension.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CloudWatchMetricsDimension.Builder,CloudWatchMetricsDimension>
-
builder
public static CloudWatchMetricsDimension.Builder builder()
-
serializableBuilderClass
public static Class<? extends CloudWatchMetricsDimension.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-