public java.util.List<Dimension> getDimensions() {
        return dimensions;
    }
<p>
An array of one or more dimensions to use to define the metric that you want to use. For more information, see <a
href
="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Dimension">Dimensions
</a>.
</p>

@return An array of one or more dimensions to use to define the metric that you want to use. For more
        information, see <a href=
        "https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Dimension"
        >Dimensions</a>.
aws-java-sdk-applicationsignals/src/main/java/com/amazonaws/services/applicationsignals/model/Metric.java