Interface ThingGroupProperties.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ThingGroupProperties.Builder,
,ThingGroupProperties> SdkBuilder<ThingGroupProperties.Builder,
,ThingGroupProperties> SdkPojo
- Enclosing class:
ThingGroupProperties
@Mutable
@NotThreadSafe
public static interface ThingGroupProperties.Builder
extends SdkPojo, CopyableBuilder<ThingGroupProperties.Builder,ThingGroupProperties>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ThingGroupProperties.Builder
attributePayload
(Consumer<AttributePayload.Builder> attributePayload) The thing group attributes in JSON format.attributePayload
(AttributePayload attributePayload) The thing group attributes in JSON format.thingGroupDescription
(String thingGroupDescription) The thing group description.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
thingGroupDescription
The thing group description.
- Parameters:
thingGroupDescription
- The thing group description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributePayload
The thing group attributes in JSON format.
- Parameters:
attributePayload
- The thing group attributes in JSON format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributePayload
default ThingGroupProperties.Builder attributePayload(Consumer<AttributePayload.Builder> attributePayload) The thing group attributes in JSON format.
This is a convenience method that creates an instance of theAttributePayload.Builder
avoiding the need to create one manually viaAttributePayload.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributePayload(AttributePayload)
.- Parameters:
attributePayload
- a consumer that will call methods onAttributePayload.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-