public static interface ThingDocument.Builder extends SdkPojo, CopyableBuilder<ThingDocument.Builder,ThingDocument>
| Modifier and Type | Method and Description |
|---|---|
ThingDocument.Builder |
attributes(Map<String,String> attributes)
The attributes.
|
default ThingDocument.Builder |
connectivity(Consumer<ThingConnectivity.Builder> connectivity)
Indicates whether the thing is connected to the Amazon Web Services IoT Core service.
|
ThingDocument.Builder |
connectivity(ThingConnectivity connectivity)
Indicates whether the thing is connected to the Amazon Web Services IoT Core service.
|
ThingDocument.Builder |
deviceDefender(String deviceDefender)
Contains Device Defender data.
|
ThingDocument.Builder |
shadow(String shadow)
The unnamed shadow and named shadow.
|
ThingDocument.Builder |
thingGroupNames(Collection<String> thingGroupNames)
Thing group names.
|
ThingDocument.Builder |
thingGroupNames(String... thingGroupNames)
Thing group names.
|
ThingDocument.Builder |
thingId(String thingId)
The thing ID.
|
ThingDocument.Builder |
thingName(String thingName)
The thing name.
|
ThingDocument.Builder |
thingTypeName(String thingTypeName)
The thing type name.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildThingDocument.Builder thingName(String thingName)
The thing name.
thingName - The thing name.ThingDocument.Builder thingId(String thingId)
The thing ID.
thingId - The thing ID.ThingDocument.Builder thingTypeName(String thingTypeName)
The thing type name.
thingTypeName - The thing type name.ThingDocument.Builder thingGroupNames(Collection<String> thingGroupNames)
Thing group names.
thingGroupNames - Thing group names.ThingDocument.Builder thingGroupNames(String... thingGroupNames)
Thing group names.
thingGroupNames - Thing group names.ThingDocument.Builder attributes(Map<String,String> attributes)
The attributes.
attributes - The attributes.ThingDocument.Builder shadow(String shadow)
The unnamed shadow and named shadow.
For more information about shadows, see IoT Device Shadow service.
shadow - The unnamed shadow and named shadow.
For more information about shadows, see IoT Device Shadow service.
ThingDocument.Builder deviceDefender(String deviceDefender)
Contains Device Defender data.
For more information about Device Defender, see Device Defender.
deviceDefender - Contains Device Defender data.
For more information about Device Defender, see Device Defender.
ThingDocument.Builder connectivity(ThingConnectivity connectivity)
Indicates whether the thing is connected to the Amazon Web Services IoT Core service.
connectivity - Indicates whether the thing is connected to the Amazon Web Services IoT Core service.default ThingDocument.Builder connectivity(Consumer<ThingConnectivity.Builder> connectivity)
Indicates whether the thing is connected to the Amazon Web Services IoT Core service.
This is a convenience method that creates an instance of theThingConnectivity.Builder avoiding the
need to create one manually via ThingConnectivity.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to connectivity(ThingConnectivity).
connectivity - a consumer that will call methods on ThingConnectivity.Builderconnectivity(ThingConnectivity)Copyright © 2023. All rights reserved.