Class WirelessDeviceEventLogOption
- java.lang.Object
-
- software.amazon.awssdk.services.iotwireless.model.WirelessDeviceEventLogOption
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WirelessDeviceEventLogOption.Builder,WirelessDeviceEventLogOption>
@Generated("software.amazon.awssdk:codegen") public final class WirelessDeviceEventLogOption extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WirelessDeviceEventLogOption.Builder,WirelessDeviceEventLogOption>
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, andUplink_Data. For a Sidewalk device, possible events for a log message areRegistration,Downlink_Data, andUplink_Data.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWirelessDeviceEventLogOption.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WirelessDeviceEventLogOption.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)WirelessDeviceEventevent()Returns the value of the Event property for this object.StringeventAsString()Returns the value of the Event property for this object.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LogLevellogLevel()Returns the value of the LogLevel property for this object.StringlogLevelAsString()Returns the value of the LogLevel property for this object.List<SdkField<?>>sdkFields()static Class<? extends WirelessDeviceEventLogOption.Builder>serializableBuilderClass()WirelessDeviceEventLogOption.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
event
public final WirelessDeviceEvent event()
Returns the value of the Event property for this object.If the service returns an enum value that is not available in the current SDK version,
eventwill returnWirelessDeviceEvent.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeventAsString().- Returns:
- The value of the Event property for this object.
- See Also:
WirelessDeviceEvent
-
eventAsString
public final String eventAsString()
Returns the value of the Event property for this object.If the service returns an enum value that is not available in the current SDK version,
eventwill returnWirelessDeviceEvent.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeventAsString().- Returns:
- The value of the Event property for this object.
- See Also:
WirelessDeviceEvent
-
logLevel
public final LogLevel logLevel()
Returns the value of the LogLevel property for this object.If the service returns an enum value that is not available in the current SDK version,
logLevelwill returnLogLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlogLevelAsString().- Returns:
- The value of the LogLevel property for this object.
- See Also:
LogLevel
-
logLevelAsString
public final String logLevelAsString()
Returns the value of the LogLevel property for this object.If the service returns an enum value that is not available in the current SDK version,
logLevelwill returnLogLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlogLevelAsString().- Returns:
- The value of the LogLevel property for this object.
- See Also:
LogLevel
-
toBuilder
public WirelessDeviceEventLogOption.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<WirelessDeviceEventLogOption.Builder,WirelessDeviceEventLogOption>
-
builder
public static WirelessDeviceEventLogOption.Builder builder()
-
serializableBuilderClass
public static Class<? extends WirelessDeviceEventLogOption.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-