public java.util.List<TargetTrackingMetricDimension> getDimensions() {
        return dimensions;
    }
<p>
The dimensions for the metric. For the list of available dimensions, see the Amazon Web Services documentation
available from the table in <a
href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html">Amazon
Web Services services that publish CloudWatch metrics </a> in the <i>Amazon CloudWatch User Guide</i>.
</p>
<p>
Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling
policy.
</p>

@return The dimensions for the metric. For the list of available dimensions, see the Amazon Web Services
        documentation available from the table in <a href=
        "https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html"
        >Amazon Web Services services that publish CloudWatch metrics </a> in the <i>Amazon CloudWatch User
        Guide</i>. </p>
        <p>
        Conditional: If you published your metric with dimensions, you must specify the same dimensions in your
        scaling policy.
aws-java-sdk-applicationautoscaling/src/main/java/com/amazonaws/services/applicationautoscaling/model/TargetTrackingMetric.java