Interface RegisterAvsDeviceRequest.Builder

    • 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 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).

        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:
        #tags(java.util.Collection)