Interface RegisterAvsDeviceRequest.Builder
-
- All Superinterfaces:
AlexaForBusinessRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<RegisterAvsDeviceRequest.Builder,RegisterAvsDeviceRequest>,SdkBuilder<RegisterAvsDeviceRequest.Builder,RegisterAvsDeviceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- RegisterAvsDeviceRequest
public static interface RegisterAvsDeviceRequest.Builder extends AlexaForBusinessRequest.Builder, SdkPojo, CopyableBuilder<RegisterAvsDeviceRequest.Builder,RegisterAvsDeviceRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RegisterAvsDeviceRequest.BuilderamazonId(String amazonId)The device type ID for your AVS device generated by Amazon when the OEM creates a new product on Amazon's Developer Console.RegisterAvsDeviceRequest.BuilderclientId(String clientId)The client ID of the OEM used for code-based linking authorization on an AVS device.RegisterAvsDeviceRequest.BuilderdeviceSerialNumber(String deviceSerialNumber)The key generated by the OEM that uniquely identifies a specified instance of your AVS device.RegisterAvsDeviceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)RegisterAvsDeviceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)RegisterAvsDeviceRequest.BuilderproductId(String productId)The product ID used to identify your AVS device during authorization.RegisterAvsDeviceRequest.BuilderroomArn(String roomArn)The Amazon Resource Name (ARN) of the room with which to associate your AVS device.RegisterAvsDeviceRequest.Buildertags(Collection<Tag> tags)The tags to be added to the specified resource.RegisterAvsDeviceRequest.Buildertags(Consumer<Tag.Builder>... tags)The tags to be added to the specified resource.RegisterAvsDeviceRequest.Buildertags(Tag... tags)The tags to be added to the specified resource.RegisterAvsDeviceRequest.BuilderuserCode(String 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.-
Methods inherited from interface software.amazon.awssdk.services.alexaforbusiness.model.AlexaForBusinessRequest.Builder
build
-
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.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
clientId
RegisterAvsDeviceRequest.Builder clientId(String 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
RegisterAvsDeviceRequest.Builder userCode(String 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
RegisterAvsDeviceRequest.Builder productId(String 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
RegisterAvsDeviceRequest.Builder deviceSerialNumber(String 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
RegisterAvsDeviceRequest.Builder amazonId(String 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
RegisterAvsDeviceRequest.Builder roomArn(String 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
RegisterAvsDeviceRequest.Builder tags(Collection<Tag> 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
RegisterAvsDeviceRequest.Builder tags(Tag... 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
RegisterAvsDeviceRequest.Builder tags(Consumer<Tag.Builder>... 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 to#tags(List.) - 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:
#tags(java.util.Collection)
-
overrideConfiguration
RegisterAvsDeviceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
RegisterAvsDeviceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-