@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegisterAVSDeviceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
RegisterAVSDeviceRequest() |
Modifier and Type | Method and Description |
---|---|
RegisterAVSDeviceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAmazonId()
The device type ID for your AVS device generated by Amazon when the OEM creates a new product on Amazon's
Developer Console.
|
String |
getClientId()
The client ID of the OEM used for code-based linking authorization on an AVS device.
|
String |
getDeviceSerialNumber()
The key generated by the OEM that uniquely identifies a specified instance of your AVS device.
|
String |
getProductId()
The product ID used to identify your AVS device during authorization.
|
String |
getRoomArn()
The Amazon Resource Name (ARN) of the room with which to associate your AVS device.
|
List<Tag> |
getTags()
The tags to be added to the specified resource.
|
String |
getUserCode()
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.
|
int |
hashCode() |
void |
setAmazonId(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.
|
void |
setClientId(String clientId)
The client ID of the OEM used for code-based linking authorization on an AVS device.
|
void |
setDeviceSerialNumber(String deviceSerialNumber)
The key generated by the OEM that uniquely identifies a specified instance of your AVS device.
|
void |
setProductId(String productId)
The product ID used to identify your AVS device during authorization.
|
void |
setRoomArn(String roomArn)
The Amazon Resource Name (ARN) of the room with which to associate your AVS device.
|
void |
setTags(Collection<Tag> tags)
The tags to be added to the specified resource.
|
void |
setUserCode(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.
|
String |
toString()
Returns a string representation of this object.
|
RegisterAVSDeviceRequest |
withAmazonId(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 |
withClientId(String clientId)
The client ID of the OEM used for code-based linking authorization on an AVS device.
|
RegisterAVSDeviceRequest |
withDeviceSerialNumber(String deviceSerialNumber)
The key generated by the OEM that uniquely identifies a specified instance of your AVS device.
|
RegisterAVSDeviceRequest |
withProductId(String productId)
The product ID used to identify your AVS device during authorization.
|
RegisterAVSDeviceRequest |
withRoomArn(String roomArn)
The Amazon Resource Name (ARN) of the room with which to associate your AVS device.
|
RegisterAVSDeviceRequest |
withTags(Collection<Tag> tags)
The tags to be added to the specified resource.
|
RegisterAVSDeviceRequest |
withTags(Tag... tags)
The tags to be added to the specified resource.
|
RegisterAVSDeviceRequest |
withUserCode(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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setClientId(String clientId)
The client ID of the OEM used for code-based linking authorization on an AVS device.
clientId
- The client ID of the OEM used for code-based linking authorization on an AVS device.public String getClientId()
The client ID of the OEM used for code-based linking authorization on an AVS device.
public RegisterAVSDeviceRequest withClientId(String clientId)
The client ID of the OEM used for code-based linking authorization on an AVS device.
clientId
- The client ID of the OEM used for code-based linking authorization on an AVS device.public void setUserCode(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.
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 getUserCode()
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 RegisterAVSDeviceRequest withUserCode(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.
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 void setProductId(String productId)
The product ID used to identify your AVS device during authorization.
productId
- The product ID used to identify your AVS device during authorization.public String getProductId()
The product ID used to identify your AVS device during authorization.
public RegisterAVSDeviceRequest withProductId(String productId)
The product ID used to identify your AVS device during authorization.
productId
- The product ID used to identify your AVS device during authorization.public void setDeviceSerialNumber(String deviceSerialNumber)
The key generated by the OEM that uniquely identifies a specified instance of your AVS device.
deviceSerialNumber
- The key generated by the OEM that uniquely identifies a specified instance of your AVS device.public String getDeviceSerialNumber()
The key generated by the OEM that uniquely identifies a specified instance of your AVS device.
public RegisterAVSDeviceRequest withDeviceSerialNumber(String deviceSerialNumber)
The key generated by the OEM that uniquely identifies a specified instance of your AVS device.
deviceSerialNumber
- The key generated by the OEM that uniquely identifies a specified instance of your AVS device.public void setAmazonId(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.
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 String getAmazonId()
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 withAmazonId(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.
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 void setRoomArn(String roomArn)
The Amazon Resource Name (ARN) of the room with which to associate your AVS device.
roomArn
- The Amazon Resource Name (ARN) of the room with which to associate your AVS device.public String getRoomArn()
The Amazon Resource Name (ARN) of the room with which to associate your AVS device.
public RegisterAVSDeviceRequest withRoomArn(String roomArn)
The Amazon Resource Name (ARN) of the room with which to associate your AVS device.
roomArn
- The Amazon Resource Name (ARN) of the room with which to associate your AVS device.public List<Tag> getTags()
The tags to be added to the specified resource. Do not provide system tags.
public void setTags(Collection<Tag> tags)
The tags to be added to the specified resource. Do not provide system tags.
tags
- The tags to be added to the specified resource. Do not provide system tags.public RegisterAVSDeviceRequest withTags(Tag... tags)
The tags to be added to the specified resource. Do not provide system tags.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags to be added to the specified resource. Do not provide system tags.public RegisterAVSDeviceRequest withTags(Collection<Tag> tags)
The tags to be added to the specified resource. Do not provide system tags.
tags
- The tags to be added to the specified resource. Do not provide system tags.public String toString()
toString
in class Object
Object.toString()
public RegisterAVSDeviceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()