@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WirelessGatewayEventLogOption extends Object implements Serializable, Cloneable, StructuredPojo
The log option for a wireless gateway event. Can be used to set log level for a specific wireless gateway event. For a LoRaWAN gateway, the possible events for a log message are: CUPS_Request, Certificate.
Constructor and Description |
---|
WirelessGatewayEventLogOption() |
Modifier and Type | Method and Description |
---|---|
WirelessGatewayEventLogOption |
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.
|
WirelessGatewayEventLogOption |
withEvent(String event) |
WirelessGatewayEventLogOption |
withEvent(WirelessGatewayEvent event) |
WirelessGatewayEventLogOption |
withLogLevel(LogLevel logLevel) |
WirelessGatewayEventLogOption |
withLogLevel(String logLevel) |
public void setEvent(String event)
event
- WirelessGatewayEvent
public String getEvent()
WirelessGatewayEvent
public WirelessGatewayEventLogOption withEvent(String event)
event
- WirelessGatewayEvent
public WirelessGatewayEventLogOption withEvent(WirelessGatewayEvent event)
event
- WirelessGatewayEvent
public WirelessGatewayEventLogOption withLogLevel(String logLevel)
logLevel
- LogLevel
public WirelessGatewayEventLogOption withLogLevel(LogLevel logLevel)
logLevel
- LogLevel
public String toString()
toString
in class Object
Object.toString()
public WirelessGatewayEventLogOption clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.