@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CanSignal extends Object implements Serializable, Cloneable, StructuredPojo
Information about a single controller area network (CAN) signal and the messages it receives and transmits.
Constructor and Description |
---|
CanSignal() |
Modifier and Type | Method and Description |
---|---|
CanSignal |
clone() |
boolean |
equals(Object obj) |
Double |
getFactor()
A multiplier used to decode the CAN message.
|
Boolean |
getIsBigEndian()
Whether the byte ordering of a CAN message is big-endian.
|
Boolean |
getIsSigned()
Whether the message data is specified as a signed value.
|
Integer |
getLength()
How many bytes of data are in the message.
|
Integer |
getMessageId()
The ID of the message.
|
String |
getName()
The name of the signal.
|
Double |
getOffset()
Indicates where data appears in the CAN message.
|
Integer |
getStartBit()
Indicates the beginning of the CAN message.
|
int |
hashCode() |
Boolean |
isBigEndian()
Whether the byte ordering of a CAN message is big-endian.
|
Boolean |
isSigned()
Whether the message data is specified as a signed value.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFactor(Double factor)
A multiplier used to decode the CAN message.
|
void |
setIsBigEndian(Boolean isBigEndian)
Whether the byte ordering of a CAN message is big-endian.
|
void |
setIsSigned(Boolean isSigned)
Whether the message data is specified as a signed value.
|
void |
setLength(Integer length)
How many bytes of data are in the message.
|
void |
setMessageId(Integer messageId)
The ID of the message.
|
void |
setName(String name)
The name of the signal.
|
void |
setOffset(Double offset)
Indicates where data appears in the CAN message.
|
void |
setStartBit(Integer startBit)
Indicates the beginning of the CAN message.
|
String |
toString()
Returns a string representation of this object.
|
CanSignal |
withFactor(Double factor)
A multiplier used to decode the CAN message.
|
CanSignal |
withIsBigEndian(Boolean isBigEndian)
Whether the byte ordering of a CAN message is big-endian.
|
CanSignal |
withIsSigned(Boolean isSigned)
Whether the message data is specified as a signed value.
|
CanSignal |
withLength(Integer length)
How many bytes of data are in the message.
|
CanSignal |
withMessageId(Integer messageId)
The ID of the message.
|
CanSignal |
withName(String name)
The name of the signal.
|
CanSignal |
withOffset(Double offset)
Indicates where data appears in the CAN message.
|
CanSignal |
withStartBit(Integer startBit)
Indicates the beginning of the CAN message.
|
public void setMessageId(Integer messageId)
The ID of the message.
messageId
- The ID of the message.public Integer getMessageId()
The ID of the message.
public CanSignal withMessageId(Integer messageId)
The ID of the message.
messageId
- The ID of the message.public void setIsBigEndian(Boolean isBigEndian)
Whether the byte ordering of a CAN message is big-endian.
isBigEndian
- Whether the byte ordering of a CAN message is big-endian.public Boolean getIsBigEndian()
Whether the byte ordering of a CAN message is big-endian.
public CanSignal withIsBigEndian(Boolean isBigEndian)
Whether the byte ordering of a CAN message is big-endian.
isBigEndian
- Whether the byte ordering of a CAN message is big-endian.public Boolean isBigEndian()
Whether the byte ordering of a CAN message is big-endian.
public void setIsSigned(Boolean isSigned)
Whether the message data is specified as a signed value.
isSigned
- Whether the message data is specified as a signed value.public Boolean getIsSigned()
Whether the message data is specified as a signed value.
public CanSignal withIsSigned(Boolean isSigned)
Whether the message data is specified as a signed value.
isSigned
- Whether the message data is specified as a signed value.public Boolean isSigned()
Whether the message data is specified as a signed value.
public void setStartBit(Integer startBit)
Indicates the beginning of the CAN message.
startBit
- Indicates the beginning of the CAN message.public Integer getStartBit()
Indicates the beginning of the CAN message.
public CanSignal withStartBit(Integer startBit)
Indicates the beginning of the CAN message.
startBit
- Indicates the beginning of the CAN message.public void setOffset(Double offset)
Indicates where data appears in the CAN message.
offset
- Indicates where data appears in the CAN message.public Double getOffset()
Indicates where data appears in the CAN message.
public CanSignal withOffset(Double offset)
Indicates where data appears in the CAN message.
offset
- Indicates where data appears in the CAN message.public void setFactor(Double factor)
A multiplier used to decode the CAN message.
factor
- A multiplier used to decode the CAN message.public Double getFactor()
A multiplier used to decode the CAN message.
public CanSignal withFactor(Double factor)
A multiplier used to decode the CAN message.
factor
- A multiplier used to decode the CAN message.public void setLength(Integer length)
How many bytes of data are in the message.
length
- How many bytes of data are in the message.public Integer getLength()
How many bytes of data are in the message.
public CanSignal withLength(Integer length)
How many bytes of data are in the message.
length
- How many bytes of data are in the message.public void setName(String name)
The name of the signal.
name
- The name of the signal.public String getName()
The name of the signal.
public CanSignal withName(String name)
The name of the signal.
name
- The name of the signal.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.