Interface RegisterAvsDeviceRequest.Builder
- All Superinterfaces:
AlexaForBusinessRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<RegisterAvsDeviceRequest.Builder,,RegisterAvsDeviceRequest> SdkBuilder<RegisterAvsDeviceRequest.Builder,,RegisterAvsDeviceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
RegisterAvsDeviceRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe device type ID for your AVS device generated by Amazon when the OEM creates a new product on Amazon's Developer Console.The client ID of the OEM used for code-based linking authorization on an AVS device.deviceSerialNumber(String deviceSerialNumber) The key generated by the OEM that uniquely identifies a specified instance of your AVS device.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The product ID used to identify your AVS device during authorization.The Amazon Resource Name (ARN) of the room with which to associate your AVS device.tags(Collection<Tag> tags) The tags to be added to the specified resource.tags(Consumer<Tag.Builder>... tags) The tags to be added to the specified resource.The tags to be added to the specified resource.The code that is obtained after your AVS device has made a POST request to LWA as a part of the Device Authorization Request component of the OAuth code-based linking specification.Methods inherited from interface software.amazon.awssdk.services.alexaforbusiness.model.AlexaForBusinessRequest.Builder
buildMethods 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.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
clientId
The client ID of the OEM used for code-based linking authorization on an AVS device.
- Parameters:
clientId- The client ID of the OEM used for code-based linking authorization on an AVS device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userCode
The code that is obtained after your AVS device has made a POST request to LWA as a part of the Device Authorization Request component of the OAuth code-based linking specification.
- Parameters:
userCode- The code that is obtained after your AVS device has made a POST request to LWA as a part of the Device Authorization Request component of the OAuth code-based linking specification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productId
The product ID used to identify your AVS device during authorization.
- Parameters:
productId- The product ID used to identify your AVS device during authorization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceSerialNumber
The key generated by the OEM that uniquely identifies a specified instance of your AVS device.
- Parameters:
deviceSerialNumber- The key generated by the OEM that uniquely identifies a specified instance of your AVS device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amazonId
The device type ID for your AVS device generated by Amazon when the OEM creates a new product on Amazon's Developer Console.
- Parameters:
amazonId- The device type ID for your AVS device generated by Amazon when the OEM creates a new product on Amazon's Developer Console.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roomArn
The Amazon Resource Name (ARN) of the room with which to associate your AVS device.
- Parameters:
roomArn- The Amazon Resource Name (ARN) of the room with which to associate your AVS device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to be added to the specified resource. Do not provide system tags.
- Parameters:
tags- The tags to be added to the specified resource. Do not provide system tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to be added to the specified resource. Do not provide system tags.
- Parameters:
tags- The tags to be added to the specified resource. Do not provide system tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to be added to the specified resource. Do not provide system tags.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
RegisterAvsDeviceRequest.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
RegisterAvsDeviceRequest.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.
-