@Generated(value="software.amazon.awssdk:codegen") public final class RegisterAvsDeviceRequest extends AlexaForBusinessRequest implements ToCopyableBuilder<RegisterAvsDeviceRequest.Builder,RegisterAvsDeviceRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
RegisterAvsDeviceRequest.Builder |
Modifier and Type | Method and Description |
---|---|
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.
|
static RegisterAvsDeviceRequest.Builder |
builder() |
String |
clientId()
The client ID of the OEM used for code-based linking authorization on an AVS device.
|
String |
deviceSerialNumber()
The key generated by the OEM that uniquely identifies a specified instance of your AVS device.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
productId()
The product ID used to identify your AVS device during authorization.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RegisterAvsDeviceRequest.Builder> |
serializableBuilderClass() |
RegisterAvsDeviceRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
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.
|
overrideConfiguration
copy
public String clientId()
The client ID of the OEM used for code-based linking authorization on an AVS device.
public 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.
public String productId()
The product ID used to identify your AVS device during authorization.
public String deviceSerialNumber()
The key generated by the OEM that uniquely identifies a specified instance of your AVS device.
public 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.
public RegisterAvsDeviceRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<RegisterAvsDeviceRequest.Builder,RegisterAvsDeviceRequest>
toBuilder
in class AlexaForBusinessRequest
public static RegisterAvsDeviceRequest.Builder builder()
public static Class<? extends RegisterAvsDeviceRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.