public class IotSiteWiseAction
extends java.lang.Object
implements java.io.Serializable
Describes an action to send data from an MQTT message that triggered the rule to AWS IoT SiteWise asset properties.
Constructor and Description |
---|
IotSiteWiseAction() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<PutAssetPropertyValueEntry> |
getPutAssetPropertyValueEntries()
A list of asset property value entries.
|
java.lang.String |
getRoleArn()
The ARN of the role that grants AWS IoT permission to send an asset
property value to AWS IoTSiteWise.
|
int |
hashCode() |
void |
setPutAssetPropertyValueEntries(java.util.Collection<PutAssetPropertyValueEntry> putAssetPropertyValueEntries)
A list of asset property value entries.
|
void |
setRoleArn(java.lang.String roleArn)
The ARN of the role that grants AWS IoT permission to send an asset
property value to AWS IoTSiteWise.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
IotSiteWiseAction |
withPutAssetPropertyValueEntries(java.util.Collection<PutAssetPropertyValueEntry> putAssetPropertyValueEntries)
A list of asset property value entries.
|
IotSiteWiseAction |
withPutAssetPropertyValueEntries(PutAssetPropertyValueEntry... putAssetPropertyValueEntries)
A list of asset property value entries.
|
IotSiteWiseAction |
withRoleArn(java.lang.String roleArn)
The ARN of the role that grants AWS IoT permission to send an asset
property value to AWS IoTSiteWise.
|
public java.util.List<PutAssetPropertyValueEntry> getPutAssetPropertyValueEntries()
A list of asset property value entries.
A list of asset property value entries.
public void setPutAssetPropertyValueEntries(java.util.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.
Returns a reference to this object so that method calls can be chained together.
putAssetPropertyValueEntries
- A list of asset property value entries.
public IotSiteWiseAction withPutAssetPropertyValueEntries(java.util.Collection<PutAssetPropertyValueEntry> putAssetPropertyValueEntries)
A list of asset property value entries.
Returns a reference to this object so that method calls can be chained together.
putAssetPropertyValueEntries
- A list of asset property value entries.
public java.lang.String getRoleArn()
The ARN of the role that grants AWS IoT permission to send an asset
property value to AWS IoTSiteWise. (
"Action": "iotsitewise:BatchPutAssetPropertyValue"
). The
trust policy can restrict access to specific asset hierarchy paths.
The ARN of the role that grants AWS IoT permission to send an
asset property value to AWS IoTSiteWise. (
"Action": "iotsitewise:BatchPutAssetPropertyValue"
).
The trust policy can restrict access to specific asset hierarchy
paths.
public void setRoleArn(java.lang.String roleArn)
The ARN of the role that grants AWS IoT permission to send an asset
property value to AWS IoTSiteWise. (
"Action": "iotsitewise:BatchPutAssetPropertyValue"
). The
trust policy can restrict access to specific asset hierarchy paths.
roleArn
-
The ARN of the role that grants AWS IoT permission to send an
asset property value to AWS IoTSiteWise. (
"Action": "iotsitewise:BatchPutAssetPropertyValue"
). The trust policy can restrict access to specific asset
hierarchy paths.
public IotSiteWiseAction withRoleArn(java.lang.String roleArn)
The ARN of the role that grants AWS IoT permission to send an asset
property value to AWS IoTSiteWise. (
"Action": "iotsitewise:BatchPutAssetPropertyValue"
). The
trust policy can restrict access to specific asset hierarchy paths.
Returns a reference to this object so that method calls can be chained together.
roleArn
-
The ARN of the role that grants AWS IoT permission to send an
asset property value to AWS IoTSiteWise. (
"Action": "iotsitewise:BatchPutAssetPropertyValue"
). The trust policy can restrict access to specific asset
hierarchy paths.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.