public class SendAlexaOfferToMasterRequest extends AmazonWebServiceRequest implements java.io.Serializable
This API allows you to connect WebRTC-enabled devices with Alexa display devices. When invoked, it sends the Alexa Session Description Protocol (SDP) offer to the master peer. The offer is delivered as soon as the master is connected to the specified signaling channel. This API returns the SDP answer from the connected master. If the master is not connected to the signaling channel, redelivery requests are made until the message expires.
| Constructor and Description |
|---|
SendAlexaOfferToMasterRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getChannelARN()
The ARN of the signaling channel by which Alexa and the master peer
communicate.
|
java.lang.String |
getMessagePayload()
The base64-encoded SDP offer content.
|
java.lang.String |
getSenderClientId()
The unique identifier for the sender client.
|
int |
hashCode() |
void |
setChannelARN(java.lang.String channelARN)
The ARN of the signaling channel by which Alexa and the master peer
communicate.
|
void |
setMessagePayload(java.lang.String messagePayload)
The base64-encoded SDP offer content.
|
void |
setSenderClientId(java.lang.String senderClientId)
The unique identifier for the sender client.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SendAlexaOfferToMasterRequest |
withChannelARN(java.lang.String channelARN)
The ARN of the signaling channel by which Alexa and the master peer
communicate.
|
SendAlexaOfferToMasterRequest |
withMessagePayload(java.lang.String messagePayload)
The base64-encoded SDP offer content.
|
SendAlexaOfferToMasterRequest |
withSenderClientId(java.lang.String senderClientId)
The unique identifier for the sender client.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getChannelARN()
The ARN of the signaling channel by which Alexa and the master peer communicate.
Constraints:
Length: 1 - 1024
Pattern:
arn:aws:kinesisvideo:[a-z0-9-]+:[0-9]+:[a-z]+/[a-zA-Z0-9_.-]+/[0-9]+
The ARN of the signaling channel by which Alexa and the master peer communicate.
public void setChannelARN(java.lang.String channelARN)
The ARN of the signaling channel by which Alexa and the master peer communicate.
Constraints:
Length: 1 - 1024
Pattern:
arn:aws:kinesisvideo:[a-z0-9-]+:[0-9]+:[a-z]+/[a-zA-Z0-9_.-]+/[0-9]+
channelARN - The ARN of the signaling channel by which Alexa and the master peer communicate.
public SendAlexaOfferToMasterRequest withChannelARN(java.lang.String channelARN)
The ARN of the signaling channel by which Alexa and the master peer communicate.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
Pattern:
arn:aws:kinesisvideo:[a-z0-9-]+:[0-9]+:[a-z]+/[a-zA-Z0-9_.-]+/[0-9]+
channelARN - The ARN of the signaling channel by which Alexa and the master peer communicate.
public java.lang.String getSenderClientId()
The unique identifier for the sender client.
Constraints:
Length: 1 - 256
Pattern: [a-zA-Z0-9_.-]+
The unique identifier for the sender client.
public void setSenderClientId(java.lang.String senderClientId)
The unique identifier for the sender client.
Constraints:
Length: 1 - 256
Pattern: [a-zA-Z0-9_.-]+
senderClientId - The unique identifier for the sender client.
public SendAlexaOfferToMasterRequest withSenderClientId(java.lang.String senderClientId)
The unique identifier for the sender client.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
Pattern: [a-zA-Z0-9_.-]+
senderClientId - The unique identifier for the sender client.
public java.lang.String getMessagePayload()
The base64-encoded SDP offer content.
Constraints:
Length: 1 - 10000
Pattern: [a-zA-Z0-9+/=]+
The base64-encoded SDP offer content.
public void setMessagePayload(java.lang.String messagePayload)
The base64-encoded SDP offer content.
Constraints:
Length: 1 - 10000
Pattern: [a-zA-Z0-9+/=]+
messagePayload - The base64-encoded SDP offer content.
public SendAlexaOfferToMasterRequest withMessagePayload(java.lang.String messagePayload)
The base64-encoded SDP offer content.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 10000
Pattern: [a-zA-Z0-9+/=]+
messagePayload - The base64-encoded SDP offer content.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.