Interface AssociateEntityToThingRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AssociateEntityToThingRequest.Builder,
,AssociateEntityToThingRequest> IoTThingsGraphRequest.Builder
,SdkBuilder<AssociateEntityToThingRequest.Builder,
,AssociateEntityToThingRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AssociateEntityToThingRequest
public static interface AssociateEntityToThingRequest.Builder
extends IoTThingsGraphRequest.Builder, SdkPojo, CopyableBuilder<AssociateEntityToThingRequest.Builder,AssociateEntityToThingRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the device to be associated with the thing.namespaceVersion
(Long namespaceVersion) The version of the user's namespace.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The name of the thing to which the entity is to be associated.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotthingsgraph.model.IoTThingsGraphRequest.Builder
build
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 name of the thing to which the entity is to be associated.
- Parameters:
thingName
- The name of the thing to which the entity is to be associated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityId
The ID of the device to be associated with the thing.
The ID should be in the following format.
urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME
- Parameters:
entityId
- The ID of the device to be associated with the thing.The ID should be in the following format.
urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaceVersion
The version of the user's namespace. Defaults to the latest version of the user's namespace.
- Parameters:
namespaceVersion
- The version of the user's namespace. Defaults to the latest version of the user's namespace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AssociateEntityToThingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AssociateEntityToThingRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-