Interface ThingGroupProperties.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ThingGroupProperties.Builder,ThingGroupProperties>,SdkBuilder<ThingGroupProperties.Builder,ThingGroupProperties>,SdkPojo
- Enclosing class:
- ThingGroupProperties
public static interface ThingGroupProperties.Builder extends SdkPojo, CopyableBuilder<ThingGroupProperties.Builder,ThingGroupProperties>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ThingGroupProperties.BuilderattributePayload(Consumer<AttributePayload.Builder> attributePayload)The thing group attributes in JSON format.ThingGroupProperties.BuilderattributePayload(AttributePayload attributePayload)The thing group attributes in JSON format.ThingGroupProperties.BuilderthingGroupDescription(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, sdkFields
-
-
-
-
Method Detail
-
thingGroupDescription
ThingGroupProperties.Builder thingGroupDescription(String 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
ThingGroupProperties.Builder attributePayload(AttributePayload 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.Builderavoiding the need to create one manually viaAttributePayload.builder().When the
Consumercompletes,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:
attributePayload(AttributePayload)
-
-