Class PropertyNotification
- java.lang.Object
-
- software.amazon.awssdk.services.iotsitewise.model.PropertyNotification
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PropertyNotification.Builder,PropertyNotification>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePropertyNotification.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PropertyNotification.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends PropertyNotification.Builder>serializableBuilderClass()PropertyNotificationStatestate()The current notification state.StringstateAsString()The current notification state.PropertyNotification.BuildertoBuilder()Stringtopic()The MQTT topic to which IoT SiteWise publishes property value update notifications.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
-
topic
public final String topic()
The MQTT topic to which IoT SiteWise publishes property value update notifications.
- Returns:
- The MQTT topic to which IoT SiteWise publishes property value update notifications.
-
state
public final PropertyNotificationState state()
The current notification state.
If the service returns an enum value that is not available in the current SDK version,
statewill returnPropertyNotificationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The current notification state.
- See Also:
PropertyNotificationState
-
stateAsString
public final String stateAsString()
The current notification state.
If the service returns an enum value that is not available in the current SDK version,
statewill returnPropertyNotificationState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The current notification state.
- See Also:
PropertyNotificationState
-
toBuilder
public PropertyNotification.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PropertyNotification.Builder,PropertyNotification>
-
builder
public static PropertyNotification.Builder builder()
-
serializableBuilderClass
public static Class<? extends PropertyNotification.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.
-
-