Modifier and Type | Method | Description |
---|---|---|
<T> Attributes.Builder |
Attributes.Builder.discard(Attributes.Key<T> key) |
Removes the key and associated value from the attribtues.
|
static Attributes.Builder |
Attributes.newBuilder() |
Create a new builder.
|
static Attributes.Builder |
Attributes.newBuilder(Attributes base) |
Deprecated.
Use
Attributes.toBuilder() on the Attributes instance instead. |
<T> Attributes.Builder |
Attributes.Builder.set(Attributes.Key<T> key,
T value) |
|
Attributes.Builder |
Attributes.Builder.setAll(Attributes other) |
|
Attributes.Builder |
Attributes.toBuilder() |
Creates a new builder that is pre-populated with the content of this container.
|