AWS SDK for .NET Documentation
Dimension Class
AmazonAmazon.CloudWatch.ModelDimension Did this page help you?   Yes   No    Tell us about it...

The Dimension data type further expands on the identity of a metric using a Name, Value pair.

For examples that use one or more dimensions, see PutMetricData.

Declaration Syntax
C#
public class Dimension
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
Dimension()()()()
Initializes a new instance of the Dimension class

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
Name
The name of the dimension.

Constraints:

Length
1 - 255


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Value
The value representing the dimension measurement

Constraints:

Length
1 - 255


WithName(String) Obsolete.
Sets the Name property

WithValue(String) Obsolete.
Sets the Value property

Inheritance Hierarchy
Object
Dimension

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)