code: public EventDimensions withAttributes(java.util.Map<String, AttributeDimension> attributes) {
          setAttributes(attributes);
          return this;
      }
docs: Custom attributes that your app reports to Amazon Pinpoint. You can use these attributes as selection criteria
  when you create an event filter.
  
  @param attributes
  Custom attributes that your app reports to Amazon Pinpoint. You can use these attributes as selection
  criteria when you create an event filter.
  @return Returns a reference to this object so that method calls can be chained together.