@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeviceShadowEnrichActivity extends Object implements Serializable, Cloneable, StructuredPojo
An activity that adds information from the IoT Device Shadow service to a message.
Constructor and Description |
---|
DeviceShadowEnrichActivity() |
Modifier and Type | Method and Description |
---|---|
DeviceShadowEnrichActivity |
clone() |
boolean |
equals(Object obj) |
String |
getAttribute()
The name of the attribute that is added to the message.
|
String |
getName()
The name of the
deviceShadowEnrich activity. |
String |
getNext()
The next activity in the pipeline.
|
String |
getRoleArn()
The ARN of the role that allows access to the device's shadow.
|
String |
getThingName()
The name of the IoT device whose shadow information is added to the message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttribute(String attribute)
The name of the attribute that is added to the message.
|
void |
setName(String name)
The name of the
deviceShadowEnrich activity. |
void |
setNext(String next)
The next activity in the pipeline.
|
void |
setRoleArn(String roleArn)
The ARN of the role that allows access to the device's shadow.
|
void |
setThingName(String thingName)
The name of the IoT device whose shadow information is added to the message.
|
String |
toString()
Returns a string representation of this object.
|
DeviceShadowEnrichActivity |
withAttribute(String attribute)
The name of the attribute that is added to the message.
|
DeviceShadowEnrichActivity |
withName(String name)
The name of the
deviceShadowEnrich activity. |
DeviceShadowEnrichActivity |
withNext(String next)
The next activity in the pipeline.
|
DeviceShadowEnrichActivity |
withRoleArn(String roleArn)
The ARN of the role that allows access to the device's shadow.
|
DeviceShadowEnrichActivity |
withThingName(String thingName)
The name of the IoT device whose shadow information is added to the message.
|
public void setName(String name)
The name of the deviceShadowEnrich
activity.
name
- The name of the deviceShadowEnrich
activity.public String getName()
The name of the deviceShadowEnrich
activity.
deviceShadowEnrich
activity.public DeviceShadowEnrichActivity withName(String name)
The name of the deviceShadowEnrich
activity.
name
- The name of the deviceShadowEnrich
activity.public void setAttribute(String attribute)
The name of the attribute that is added to the message.
attribute
- The name of the attribute that is added to the message.public String getAttribute()
The name of the attribute that is added to the message.
public DeviceShadowEnrichActivity withAttribute(String attribute)
The name of the attribute that is added to the message.
attribute
- The name of the attribute that is added to the message.public void setThingName(String thingName)
The name of the IoT device whose shadow information is added to the message.
thingName
- The name of the IoT device whose shadow information is added to the message.public String getThingName()
The name of the IoT device whose shadow information is added to the message.
public DeviceShadowEnrichActivity withThingName(String thingName)
The name of the IoT device whose shadow information is added to the message.
thingName
- The name of the IoT device whose shadow information is added to the message.public void setRoleArn(String roleArn)
The ARN of the role that allows access to the device's shadow.
roleArn
- The ARN of the role that allows access to the device's shadow.public String getRoleArn()
The ARN of the role that allows access to the device's shadow.
public DeviceShadowEnrichActivity withRoleArn(String roleArn)
The ARN of the role that allows access to the device's shadow.
roleArn
- The ARN of the role that allows access to the device's shadow.public void setNext(String next)
The next activity in the pipeline.
next
- The next activity in the pipeline.public String getNext()
The next activity in the pipeline.
public DeviceShadowEnrichActivity withNext(String next)
The next activity in the pipeline.
next
- The next activity in the pipeline.public String toString()
toString
in class Object
Object.toString()
public DeviceShadowEnrichActivity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.