@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SendDataToWirelessDeviceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SendDataToWirelessDeviceRequest() |
Modifier and Type | Method and Description |
---|---|
SendDataToWirelessDeviceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getId()
The ID of the wireless device to receive the data.
|
String |
getPayloadData()
The binary to be sent to the end device, encoded in base64.
|
Integer |
getTransmitMode()
The transmit mode to use to send data to the wireless device.
|
WirelessMetadata |
getWirelessMetadata()
Metadata about the message request.
|
int |
hashCode() |
void |
setId(String id)
The ID of the wireless device to receive the data.
|
void |
setPayloadData(String payloadData)
The binary to be sent to the end device, encoded in base64.
|
void |
setTransmitMode(Integer transmitMode)
The transmit mode to use to send data to the wireless device.
|
void |
setWirelessMetadata(WirelessMetadata wirelessMetadata)
Metadata about the message request.
|
String |
toString()
Returns a string representation of this object.
|
SendDataToWirelessDeviceRequest |
withId(String id)
The ID of the wireless device to receive the data.
|
SendDataToWirelessDeviceRequest |
withPayloadData(String payloadData)
The binary to be sent to the end device, encoded in base64.
|
SendDataToWirelessDeviceRequest |
withTransmitMode(Integer transmitMode)
The transmit mode to use to send data to the wireless device.
|
SendDataToWirelessDeviceRequest |
withWirelessMetadata(WirelessMetadata wirelessMetadata)
Metadata about the message request.
|
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 setId(String id)
The ID of the wireless device to receive the data.
id
- The ID of the wireless device to receive the data.public String getId()
The ID of the wireless device to receive the data.
public SendDataToWirelessDeviceRequest withId(String id)
The ID of the wireless device to receive the data.
id
- The ID of the wireless device to receive the data.public void setTransmitMode(Integer transmitMode)
The transmit mode to use to send data to the wireless device. Can be: 0
for UM (unacknowledge mode)
or 1
for AM (acknowledge mode).
transmitMode
- The transmit mode to use to send data to the wireless device. Can be: 0
for UM (unacknowledge
mode) or 1
for AM (acknowledge mode).public Integer getTransmitMode()
The transmit mode to use to send data to the wireless device. Can be: 0
for UM (unacknowledge mode)
or 1
for AM (acknowledge mode).
0
for UM
(unacknowledge mode) or 1
for AM (acknowledge mode).public SendDataToWirelessDeviceRequest withTransmitMode(Integer transmitMode)
The transmit mode to use to send data to the wireless device. Can be: 0
for UM (unacknowledge mode)
or 1
for AM (acknowledge mode).
transmitMode
- The transmit mode to use to send data to the wireless device. Can be: 0
for UM (unacknowledge
mode) or 1
for AM (acknowledge mode).public void setPayloadData(String payloadData)
The binary to be sent to the end device, encoded in base64.
payloadData
- The binary to be sent to the end device, encoded in base64.public String getPayloadData()
The binary to be sent to the end device, encoded in base64.
public SendDataToWirelessDeviceRequest withPayloadData(String payloadData)
The binary to be sent to the end device, encoded in base64.
payloadData
- The binary to be sent to the end device, encoded in base64.public void setWirelessMetadata(WirelessMetadata wirelessMetadata)
Metadata about the message request.
wirelessMetadata
- Metadata about the message request.public WirelessMetadata getWirelessMetadata()
Metadata about the message request.
public SendDataToWirelessDeviceRequest withWirelessMetadata(WirelessMetadata wirelessMetadata)
Metadata about the message request.
wirelessMetadata
- Metadata about the message request.public String toString()
toString
in class Object
Object.toString()
public SendDataToWirelessDeviceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()