@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.PropertyNotificationState
public String getState()
The current notification state.
PropertyNotificationState
public PropertyNotification withState(String state)
The current notification state.
state
- The current notification state.PropertyNotificationState
public PropertyNotification withState(PropertyNotificationState state)
The current notification state.
state
- The current notification state.PropertyNotificationState
public String toString()
toString
in class Object
Object.toString()
public PropertyNotification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.