public SetDimension withDimensionType(String dimensionType) {
        setDimensionType(dimensionType);
        return this;
    }
<p>
The type of segment dimension to use. Valid values are: INCLUSIVE, endpoints that match the criteria are included
in the segment; and, EXCLUSIVE, endpoints that match the criteria are excluded from the segment.
</p>

@param dimensionType
       The type of segment dimension to use. Valid values are: INCLUSIVE, endpoints that match the criteria are
       included in the segment; and, EXCLUSIVE, endpoints that match the criteria are excluded from the segment.
@return Returns a reference to this object so that method calls can be chained together.
@see DimensionType
aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/SetDimension.java