Interface ThingDocument.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ThingDocument.Builder,
,ThingDocument> SdkBuilder<ThingDocument.Builder,
,ThingDocument> SdkPojo
- Enclosing class:
ThingDocument
-
Method Summary
Modifier and TypeMethodDescriptionattributes
(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.connectivity
(ThingConnectivity connectivity) Indicates whether the thing is connected to the Amazon Web Services IoT Core service.deviceDefender
(String deviceDefender) Contains Device Defender data.The unnamed shadow and named shadow.thingGroupNames
(String... thingGroupNames) Thing group names.thingGroupNames
(Collection<String> thingGroupNames) Thing group names.The thing ID.The thing name.thingTypeName
(String thingTypeName) The thing type name.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 Details
-
thingName
The thing name.
- Parameters:
thingName
- The thing name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thingId
The thing ID.
- Parameters:
thingId
- The thing ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thingTypeName
The thing type name.
- Parameters:
thingTypeName
- The thing type name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thingGroupNames
Thing group names.
- Parameters:
thingGroupNames
- Thing group names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thingGroupNames
Thing group names.
- Parameters:
thingGroupNames
- Thing group names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The attributes.
- Parameters:
attributes
- The attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shadow
The unnamed shadow and named shadow.
For more information about shadows, see IoT Device Shadow service.
- Parameters:
shadow
- The unnamed shadow and named shadow.For more information about shadows, see IoT Device Shadow service.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceDefender
Contains Device Defender data.
For more information about Device Defender, see Device Defender.
- Parameters:
deviceDefender
- Contains Device Defender data.For more information about Device Defender, see Device Defender.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectivity
Indicates whether the thing is connected to the Amazon Web Services IoT Core service.
- Parameters:
connectivity
- Indicates whether the thing is connected to the Amazon Web Services IoT Core service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaThingConnectivity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnectivity(ThingConnectivity)
.- Parameters:
connectivity
- a consumer that will call methods onThingConnectivity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-