public MetricDimension withDimensionName(String dimensionName) {
        setDimensionName(dimensionName);
        return this;
    }
<p>
A unique identifier for the dimension.
</p>

@param dimensionName
       A unique identifier for the dimension.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/MetricDimension.java