Interface ThingDocument.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<ThingDocument.Builder,,- ThingDocument> - SdkBuilder<ThingDocument.Builder,,- ThingDocument> - SdkPojo
- Enclosing class:
- ThingDocument
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
thingNameThe thing name. - Parameters:
- thingName- The thing name.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
thingIdThe thing ID. - Parameters:
- thingId- The thing ID.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
thingTypeNameThe thing type name. - Parameters:
- thingTypeName- The thing type name.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
thingGroupNamesThing 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.
 
- 
thingGroupNamesThing 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.
 
- 
attributesThe attributes. - Parameters:
- attributes- The attributes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
shadowThe 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.
 
- 
deviceDefenderContains 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.
 
- 
connectivityIndicates 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.
 
- 
connectivityIndicates 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 on- ThingConnectivity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-