code: public SegmentDimensions withUserAttributes(java.util.Map<String, AttributeDimension> userAttributes) {
          setUserAttributes(userAttributes);
          return this;
      }
docs: Custom segment user attributes.
  
  @param userAttributes
  Custom segment user attributes.
  @return Returns a reference to this object so that method calls can be chained together.