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 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

      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

      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 the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.