public GetDimensionKeyDetailsResult withDimensions(java.util.Collection<DimensionKeyDetail> dimensions) {
        setDimensions(dimensions);
        return this;
    }
<p>
The details for the requested dimensions.
</p>

@param dimensions
       The details for the requested dimensions.
@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/GetDimensionKeyDetailsResult.java