public Entitlement withDimension(String dimension) {
        setDimension(dimension);
        return this;
    }
<p>
The dimension for which the given entitlement applies. Dimensions represent categories of capacity in a product
and are specified when the product is listed in AWS Marketplace.
</p>

@param dimension
       The dimension for which the given entitlement applies. Dimensions represent categories of capacity in a
       product and are specified when the product is listed in AWS Marketplace.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-marketplaceentitlement/src/main/java/com/amazonaws/services/marketplaceentitlement/model/Entitlement.java