@Generated(value="software.amazon.awssdk:codegen") public final class PropertyNotification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PropertyNotification.Builder,PropertyNotification>
Contains asset property value notification information. When the notification state is enabled, IoT SiteWise publishes property value updates to a unique MQTT topic. For more information, see Interacting with other services in the IoT SiteWise User Guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PropertyNotification.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PropertyNotification.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends PropertyNotification.Builder> |
serializableBuilderClass() |
PropertyNotificationState |
state()
The current notification state.
|
String |
stateAsString()
The current notification state.
|
PropertyNotification.Builder |
toBuilder() |
String |
topic()
The MQTT topic to which IoT SiteWise publishes property value update notifications.
|
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String topic()
The MQTT topic to which IoT SiteWise publishes property value update notifications.
public final PropertyNotificationState state()
The current notification state.
If the service returns an enum value that is not available in the current SDK version, state will return
PropertyNotificationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
PropertyNotificationStatepublic final String stateAsString()
The current notification state.
If the service returns an enum value that is not available in the current SDK version, state will return
PropertyNotificationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
PropertyNotificationStatepublic PropertyNotification.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PropertyNotification.Builder,PropertyNotification>public static PropertyNotification.Builder builder()
public static Class<? extends PropertyNotification.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.