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 or not the thing is connected to the AWS IoT service.
|
ThingDocument.Builder |
connectivity(ThingConnectivity connectivity)
Indicates whether or not the thing is connected to the AWS IoT service.
|
ThingDocument.Builder |
shadow(String shadow)
The 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.
|
copyapplyMutation, 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 shadow.
shadow - The shadow.ThingDocument.Builder connectivity(ThingConnectivity connectivity)
Indicates whether or not the thing is connected to the AWS IoT service.
connectivity - Indicates whether or not the thing is connected to the AWS IoT service.default ThingDocument.Builder connectivity(Consumer<ThingConnectivity.Builder> connectivity)
Indicates whether or not the thing is connected to the AWS IoT service.
This is a convenience 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 © 2017 Amazon Web Services, Inc. All Rights Reserved.