@Retention(value=RUNTIME) public @interface AWSIotDeviceProperty
AWSIotDevice
.
Properties annotated must be accessible via corresponding getter and setter
methods.
With optional values provided by this annotation class, properties can also
be configured to disable reporting to the shadow or not to accept updates
from the shadow. If enableReport()
is disabled, property getter
function is not required. Likewise, if allowUpdate()
is disabled for
a property, its setter method is not required.
Modifier and Type | Optional Element and Description |
---|---|
boolean |
allowUpdate
Allow updates from the shadow.
|
boolean |
enableReport
Enable reporting the annotated property to the shadow.
|
String |
name
An optional name can be provided to the annotated property, which will be
used for publishing to the shadow as well as receiving updates from the
shadow.
|
public abstract String name
Copyright © 2020. All rights reserved.