@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PropertyNotification extends Object implements Serializable, Cloneable, StructuredPojo
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.
| Constructor and Description |
|---|
PropertyNotification() |
| Modifier and Type | Method and Description |
|---|---|
PropertyNotification |
clone() |
boolean |
equals(Object obj) |
String |
getState()
The current notification state.
|
String |
getTopic()
The MQTT topic to which IoT SiteWise publishes property value update notifications.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setState(String state)
The current notification state.
|
void |
setTopic(String topic)
The MQTT topic to which IoT SiteWise publishes property value update notifications.
|
String |
toString()
Returns a string representation of this object.
|
PropertyNotification |
withState(PropertyNotificationState state)
The current notification state.
|
PropertyNotification |
withState(String state)
The current notification state.
|
PropertyNotification |
withTopic(String topic)
The MQTT topic to which IoT SiteWise publishes property value update notifications.
|
public void setTopic(String topic)
The MQTT topic to which IoT SiteWise publishes property value update notifications.
topic - The MQTT topic to which IoT SiteWise publishes property value update notifications.public String getTopic()
The MQTT topic to which IoT SiteWise publishes property value update notifications.
public PropertyNotification withTopic(String topic)
The MQTT topic to which IoT SiteWise publishes property value update notifications.
topic - The MQTT topic to which IoT SiteWise publishes property value update notifications.public void setState(String state)
The current notification state.
state - The current notification state.PropertyNotificationStatepublic String getState()
The current notification state.
PropertyNotificationStatepublic PropertyNotification withState(String state)
The current notification state.
state - The current notification state.PropertyNotificationStatepublic PropertyNotification withState(PropertyNotificationState state)
The current notification state.
state - The current notification state.PropertyNotificationStatepublic String toString()
toString in class ObjectObject.toString()public PropertyNotification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.