withAttributes method

void withAttributes(
  1. Attributes attributes
)

Set new message attributes.

Implementation

void withAttributes(Attributes attributes) {
  this.attributes = attributes;
}