@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WirelessDeviceEventLogOption extends Object implements Serializable, Cloneable, StructuredPojo
The log options for a wireless device event and can be used to set log levels for a specific wireless device event.
For a LoRaWAN device, possible events for a log messsage are: Join, Rejoin,
Downlink_Data, and Uplink_Data. For a Sidewalk device, possible events for a log message
are Registration, Downlink_Data, and Uplink_Data.
| Constructor and Description |
|---|
WirelessDeviceEventLogOption() |
| Modifier and Type | Method and Description |
|---|---|
WirelessDeviceEventLogOption |
clone() |
boolean |
equals(Object obj) |
String |
getEvent() |
String |
getLogLevel() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEvent(String event) |
void |
setLogLevel(String logLevel) |
String |
toString()
Returns a string representation of this object.
|
WirelessDeviceEventLogOption |
withEvent(String event) |
WirelessDeviceEventLogOption |
withEvent(WirelessDeviceEvent event) |
WirelessDeviceEventLogOption |
withLogLevel(LogLevel logLevel) |
WirelessDeviceEventLogOption |
withLogLevel(String logLevel) |
public void setEvent(String event)
event - WirelessDeviceEventpublic String getEvent()
WirelessDeviceEventpublic WirelessDeviceEventLogOption withEvent(String event)
event - WirelessDeviceEventpublic WirelessDeviceEventLogOption withEvent(WirelessDeviceEvent event)
event - WirelessDeviceEventpublic WirelessDeviceEventLogOption withLogLevel(String logLevel)
logLevel - LogLevelpublic WirelessDeviceEventLogOption withLogLevel(LogLevel logLevel)
logLevel - LogLevelpublic String toString()
toString in class ObjectObject.toString()public WirelessDeviceEventLogOption clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.