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
Modifier and TypeMethodDescriptiondefault ThingGroupProperties.BuilderattributePayload(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.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:
-