public static interface ThingGroupProperties.Builder extends SdkPojo, CopyableBuilder<ThingGroupProperties.Builder,ThingGroupProperties>
Modifier and Type | Method and Description |
---|---|
ThingGroupProperties.Builder |
attributePayload(AttributePayload attributePayload)
The thing group attributes in JSON format.
|
default ThingGroupProperties.Builder |
attributePayload(Consumer<AttributePayload.Builder> attributePayload)
The thing group attributes in JSON format.
|
ThingGroupProperties.Builder |
thingGroupDescription(String thingGroupDescription)
The thing group description.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
ThingGroupProperties.Builder thingGroupDescription(String thingGroupDescription)
The thing group description.
thingGroupDescription
- The thing group description.ThingGroupProperties.Builder attributePayload(AttributePayload attributePayload)
The thing group attributes in JSON format.
attributePayload
- The thing group attributes in JSON format.default ThingGroupProperties.Builder attributePayload(Consumer<AttributePayload.Builder> attributePayload)
The thing group attributes in JSON format.
This is a convenience that creates an instance of theAttributePayload.Builder
avoiding the need to
create one manually via AttributePayload.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to attributePayload(AttributePayload)
.attributePayload
- a consumer that will call methods on AttributePayload.Builder
attributePayload(AttributePayload)
Copyright © 2020. All rights reserved.