@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IotSiteWiseAction extends Object implements Serializable, Cloneable, StructuredPojo
Describes an action to send data from an MQTT message that triggered the rule to IoT SiteWise asset properties.
Constructor and Description |
---|
IotSiteWiseAction() |
Modifier and Type | Method and Description |
---|---|
IotSiteWiseAction |
clone() |
boolean |
equals(Object obj) |
List<PutAssetPropertyValueEntry> |
getPutAssetPropertyValueEntries()
A list of asset property value entries.
|
String |
getRoleArn()
The ARN of the role that grants IoT permission to send an asset property value to IoT SiteWise.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPutAssetPropertyValueEntries(Collection<PutAssetPropertyValueEntry> putAssetPropertyValueEntries)
A list of asset property value entries.
|
void |
setRoleArn(String roleArn)
The ARN of the role that grants IoT permission to send an asset property value to IoT SiteWise.
|
String |
toString()
Returns a string representation of this object.
|
IotSiteWiseAction |
withPutAssetPropertyValueEntries(Collection<PutAssetPropertyValueEntry> putAssetPropertyValueEntries)
A list of asset property value entries.
|
IotSiteWiseAction |
withPutAssetPropertyValueEntries(PutAssetPropertyValueEntry... putAssetPropertyValueEntries)
A list of asset property value entries.
|
IotSiteWiseAction |
withRoleArn(String roleArn)
The ARN of the role that grants IoT permission to send an asset property value to IoT SiteWise.
|
public List<PutAssetPropertyValueEntry> getPutAssetPropertyValueEntries()
A list of asset property value entries.
public void setPutAssetPropertyValueEntries(Collection<PutAssetPropertyValueEntry> putAssetPropertyValueEntries)
A list of asset property value entries.
putAssetPropertyValueEntries
- A list of asset property value entries.public IotSiteWiseAction withPutAssetPropertyValueEntries(PutAssetPropertyValueEntry... putAssetPropertyValueEntries)
A list of asset property value entries.
NOTE: This method appends the values to the existing list (if any). Use
setPutAssetPropertyValueEntries(java.util.Collection)
or
withPutAssetPropertyValueEntries(java.util.Collection)
if you want to override the existing values.
putAssetPropertyValueEntries
- A list of asset property value entries.public IotSiteWiseAction withPutAssetPropertyValueEntries(Collection<PutAssetPropertyValueEntry> putAssetPropertyValueEntries)
A list of asset property value entries.
putAssetPropertyValueEntries
- A list of asset property value entries.public void setRoleArn(String roleArn)
The ARN of the role that grants IoT permission to send an asset property value to IoT SiteWise. (
"Action": "iotsitewise:BatchPutAssetPropertyValue"
). The trust policy can restrict access to
specific asset hierarchy paths.
roleArn
- The ARN of the role that grants IoT permission to send an asset property value to IoT SiteWise. (
"Action": "iotsitewise:BatchPutAssetPropertyValue"
). The trust policy can restrict access to
specific asset hierarchy paths.public String getRoleArn()
The ARN of the role that grants IoT permission to send an asset property value to IoT SiteWise. (
"Action": "iotsitewise:BatchPutAssetPropertyValue"
). The trust policy can restrict access to
specific asset hierarchy paths.
"Action": "iotsitewise:BatchPutAssetPropertyValue"
). The trust policy can restrict access to
specific asset hierarchy paths.public IotSiteWiseAction withRoleArn(String roleArn)
The ARN of the role that grants IoT permission to send an asset property value to IoT SiteWise. (
"Action": "iotsitewise:BatchPutAssetPropertyValue"
). The trust policy can restrict access to
specific asset hierarchy paths.
roleArn
- The ARN of the role that grants IoT permission to send an asset property value to IoT SiteWise. (
"Action": "iotsitewise:BatchPutAssetPropertyValue"
). The trust policy can restrict access to
specific asset hierarchy paths.public String toString()
toString
in class Object
Object.toString()
public IotSiteWiseAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.