public void setUserAttributes(java.util.Map<String, AttributeDimension> userAttributes) {
        this.userAttributes = userAttributes;
    }
<p>
One or more custom user attributes to use as criteria for the segment.
</p>

@param userAttributes
       One or more custom user attributes to use as criteria for the segment.
aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/SegmentDimensions.java