public interface AdaptableBuilder
Adaptable instances.| Modifier and Type | Method and Description |
|---|---|
Adaptable |
build()
Creates a new
Adaptable from the previously set values. |
AdaptableBuilder |
withHeaders(org.eclipse.ditto.model.base.headers.DittoHeaders headers)
Sets the given
headers to this builder. |
AdaptableBuilder |
withPayload(Payload payload)
Sets the given
payload to this builder. |
AdaptableBuilder withPayload(Payload payload)
payload to this builder. A previously set payload is replaced.payload - the payload to set.AdaptableBuilder withHeaders(org.eclipse.ditto.model.base.headers.DittoHeaders headers)
headers to this builder. Previously set headers are replaced.headers - the headers to set.Adaptable build()
Adaptable from the previously set values.Copyright © 2017–2019 Eclipse Foundation. All rights reserved.