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.Builderconnectivity(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 and billing group names.thingGroupNames(Collection<String> thingGroupNames) Thing group and billing 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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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 and billing group names.
- Parameters:
thingGroupNames- Thing group and billing group names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thingGroupNames
Thing group and billing group names.
- Parameters:
thingGroupNames- Thing group and billing 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.Builderavoiding the need to create one manually viaThingConnectivity.builder().When the
Consumercompletes,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:
-