@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Actuator extends Object implements Serializable, Cloneable, StructuredPojo
A signal that represents a vehicle device such as the engine, heater, and door locks. Data from an actuator reports the state of a certain vehicle device.
Updating actuator data can change the state of a device. For example, you can turn on or off the heater by updating its actuator data.
Constructor and Description |
---|
Actuator() |
Modifier and Type | Method and Description |
---|---|
Actuator |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAllowedValues()
A list of possible values an actuator can take.
|
String |
getAssignedValue()
Deprecated.
|
String |
getComment()
A comment in addition to the description.
|
String |
getDataType()
The specified data type of the actuator.
|
String |
getDeprecationMessage()
The deprecation message for the node or the branch that was moved or deleted.
|
String |
getDescription()
A brief description of the actuator.
|
String |
getFullyQualifiedName()
The fully qualified name of the actuator.
|
Double |
getMax()
The specified possible maximum value of an actuator.
|
Double |
getMin()
The specified possible minimum value of an actuator.
|
String |
getStructFullyQualifiedName()
The fully qualified name of the struct node for the actuator if the data type of the actuator is
Struct or StructArray . |
String |
getUnit()
The scientific unit for the actuator.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllowedValues(Collection<String> allowedValues)
A list of possible values an actuator can take.
|
void |
setAssignedValue(String assignedValue)
Deprecated.
|
void |
setComment(String comment)
A comment in addition to the description.
|
void |
setDataType(String dataType)
The specified data type of the actuator.
|
void |
setDeprecationMessage(String deprecationMessage)
The deprecation message for the node or the branch that was moved or deleted.
|
void |
setDescription(String description)
A brief description of the actuator.
|
void |
setFullyQualifiedName(String fullyQualifiedName)
The fully qualified name of the actuator.
|
void |
setMax(Double max)
The specified possible maximum value of an actuator.
|
void |
setMin(Double min)
The specified possible minimum value of an actuator.
|
void |
setStructFullyQualifiedName(String structFullyQualifiedName)
The fully qualified name of the struct node for the actuator if the data type of the actuator is
Struct or StructArray . |
void |
setUnit(String unit)
The scientific unit for the actuator.
|
String |
toString()
Returns a string representation of this object.
|
Actuator |
withAllowedValues(Collection<String> allowedValues)
A list of possible values an actuator can take.
|
Actuator |
withAllowedValues(String... allowedValues)
A list of possible values an actuator can take.
|
Actuator |
withAssignedValue(String assignedValue)
Deprecated.
|
Actuator |
withComment(String comment)
A comment in addition to the description.
|
Actuator |
withDataType(NodeDataType dataType)
The specified data type of the actuator.
|
Actuator |
withDataType(String dataType)
The specified data type of the actuator.
|
Actuator |
withDeprecationMessage(String deprecationMessage)
The deprecation message for the node or the branch that was moved or deleted.
|
Actuator |
withDescription(String description)
A brief description of the actuator.
|
Actuator |
withFullyQualifiedName(String fullyQualifiedName)
The fully qualified name of the actuator.
|
Actuator |
withMax(Double max)
The specified possible maximum value of an actuator.
|
Actuator |
withMin(Double min)
The specified possible minimum value of an actuator.
|
Actuator |
withStructFullyQualifiedName(String structFullyQualifiedName)
The fully qualified name of the struct node for the actuator if the data type of the actuator is
Struct or StructArray . |
Actuator |
withUnit(String unit)
The scientific unit for the actuator.
|
public void setFullyQualifiedName(String fullyQualifiedName)
The fully qualified name of the actuator. For example, the fully qualified name of an actuator might be
Vehicle.Front.Left.Door.Lock
.
fullyQualifiedName
- The fully qualified name of the actuator. For example, the fully qualified name of an actuator might be
Vehicle.Front.Left.Door.Lock
.public String getFullyQualifiedName()
The fully qualified name of the actuator. For example, the fully qualified name of an actuator might be
Vehicle.Front.Left.Door.Lock
.
Vehicle.Front.Left.Door.Lock
.public Actuator withFullyQualifiedName(String fullyQualifiedName)
The fully qualified name of the actuator. For example, the fully qualified name of an actuator might be
Vehicle.Front.Left.Door.Lock
.
fullyQualifiedName
- The fully qualified name of the actuator. For example, the fully qualified name of an actuator might be
Vehicle.Front.Left.Door.Lock
.public void setDataType(String dataType)
The specified data type of the actuator.
dataType
- The specified data type of the actuator.NodeDataType
public String getDataType()
The specified data type of the actuator.
NodeDataType
public Actuator withDataType(String dataType)
The specified data type of the actuator.
dataType
- The specified data type of the actuator.NodeDataType
public Actuator withDataType(NodeDataType dataType)
The specified data type of the actuator.
dataType
- The specified data type of the actuator.NodeDataType
public void setDescription(String description)
A brief description of the actuator.
description
- A brief description of the actuator.public String getDescription()
A brief description of the actuator.
public Actuator withDescription(String description)
A brief description of the actuator.
description
- A brief description of the actuator.public void setUnit(String unit)
The scientific unit for the actuator.
unit
- The scientific unit for the actuator.public String getUnit()
The scientific unit for the actuator.
public Actuator withUnit(String unit)
The scientific unit for the actuator.
unit
- The scientific unit for the actuator.public List<String> getAllowedValues()
A list of possible values an actuator can take.
public void setAllowedValues(Collection<String> allowedValues)
A list of possible values an actuator can take.
allowedValues
- A list of possible values an actuator can take.public Actuator withAllowedValues(String... allowedValues)
A list of possible values an actuator can take.
NOTE: This method appends the values to the existing list (if any). Use
setAllowedValues(java.util.Collection)
or withAllowedValues(java.util.Collection)
if you want
to override the existing values.
allowedValues
- A list of possible values an actuator can take.public Actuator withAllowedValues(Collection<String> allowedValues)
A list of possible values an actuator can take.
allowedValues
- A list of possible values an actuator can take.public void setMin(Double min)
The specified possible minimum value of an actuator.
min
- The specified possible minimum value of an actuator.public Double getMin()
The specified possible minimum value of an actuator.
public Actuator withMin(Double min)
The specified possible minimum value of an actuator.
min
- The specified possible minimum value of an actuator.public void setMax(Double max)
The specified possible maximum value of an actuator.
max
- The specified possible maximum value of an actuator.public Double getMax()
The specified possible maximum value of an actuator.
public Actuator withMax(Double max)
The specified possible maximum value of an actuator.
max
- The specified possible maximum value of an actuator.@Deprecated public void setAssignedValue(String assignedValue)
A specified value for the actuator.
assignedValue
- A specified value for the actuator.@Deprecated public String getAssignedValue()
A specified value for the actuator.
@Deprecated public Actuator withAssignedValue(String assignedValue)
A specified value for the actuator.
assignedValue
- A specified value for the actuator.public void setDeprecationMessage(String deprecationMessage)
The deprecation message for the node or the branch that was moved or deleted.
deprecationMessage
- The deprecation message for the node or the branch that was moved or deleted.public String getDeprecationMessage()
The deprecation message for the node or the branch that was moved or deleted.
public Actuator withDeprecationMessage(String deprecationMessage)
The deprecation message for the node or the branch that was moved or deleted.
deprecationMessage
- The deprecation message for the node or the branch that was moved or deleted.public void setComment(String comment)
A comment in addition to the description.
comment
- A comment in addition to the description.public String getComment()
A comment in addition to the description.
public Actuator withComment(String comment)
A comment in addition to the description.
comment
- A comment in addition to the description.public void setStructFullyQualifiedName(String structFullyQualifiedName)
The fully qualified name of the struct node for the actuator if the data type of the actuator is
Struct
or StructArray
. For example, the struct fully qualified name of an actuator
might be Vehicle.Door.LockStruct
.
structFullyQualifiedName
- The fully qualified name of the struct node for the actuator if the data type of the actuator is
Struct
or StructArray
. For example, the struct fully qualified name of an
actuator might be Vehicle.Door.LockStruct
.public String getStructFullyQualifiedName()
The fully qualified name of the struct node for the actuator if the data type of the actuator is
Struct
or StructArray
. For example, the struct fully qualified name of an actuator
might be Vehicle.Door.LockStruct
.
Struct
or StructArray
. For example, the struct fully qualified name of an
actuator might be Vehicle.Door.LockStruct
.public Actuator withStructFullyQualifiedName(String structFullyQualifiedName)
The fully qualified name of the struct node for the actuator if the data type of the actuator is
Struct
or StructArray
. For example, the struct fully qualified name of an actuator
might be Vehicle.Door.LockStruct
.
structFullyQualifiedName
- The fully qualified name of the struct node for the actuator if the data type of the actuator is
Struct
or StructArray
. For example, the struct fully qualified name of an
actuator might be Vehicle.Door.LockStruct
.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.