@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
- WirelessDeviceEvent
public String getEvent()
WirelessDeviceEvent
public WirelessDeviceEventLogOption withEvent(String event)
event
- WirelessDeviceEvent
public WirelessDeviceEventLogOption withEvent(WirelessDeviceEvent event)
event
- WirelessDeviceEvent
public WirelessDeviceEventLogOption withLogLevel(String logLevel)
logLevel
- LogLevel
public WirelessDeviceEventLogOption withLogLevel(LogLevel logLevel)
logLevel
- LogLevel
public String toString()
toString
in class Object
Object.toString()
public WirelessDeviceEventLogOption clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.