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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotthingsgraph.model.IoTThingsGraphRequest.Builder
buildMethods 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 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-