public DimensionKeyDescription withDimensions(java.util.Map<String, String> dimensions) {
        setDimensions(dimensions);
        return this;
    }
<p>
A map of name-value pairs for the dimensions in the group.
</p>

@param dimensions
       A map of name-value pairs for the dimensions in the group.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pi/src/main/java/com/amazonaws/services/pi/model/DimensionKeyDescription.java