@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkInterface extends Object implements Serializable, Cloneable, StructuredPojo
Represents a node and its specifications in an in-vehicle communication network. All signal decoders must be associated with a network node.
To return this information about all the network interfaces specified in a decoder manifest, use the API operation.
| Constructor and Description |
|---|
NetworkInterface() |
| Modifier and Type | Method and Description |
|---|---|
NetworkInterface |
clone() |
boolean |
equals(Object obj) |
CanInterface |
getCanInterface()
Information about a network interface specified by the Controller Area Network (CAN) protocol.
|
String |
getInterfaceId()
The ID of the network interface.
|
ObdInterface |
getObdInterface()
Information about a network interface specified by the On-board diagnostic (OBD) II protocol.
|
String |
getType()
The network protocol for the vehicle.
|
VehicleMiddleware |
getVehicleMiddleware()
The vehicle middleware defined as a type of network interface.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCanInterface(CanInterface canInterface)
Information about a network interface specified by the Controller Area Network (CAN) protocol.
|
void |
setInterfaceId(String interfaceId)
The ID of the network interface.
|
void |
setObdInterface(ObdInterface obdInterface)
Information about a network interface specified by the On-board diagnostic (OBD) II protocol.
|
void |
setType(String type)
The network protocol for the vehicle.
|
void |
setVehicleMiddleware(VehicleMiddleware vehicleMiddleware)
The vehicle middleware defined as a type of network interface.
|
String |
toString()
Returns a string representation of this object.
|
NetworkInterface |
withCanInterface(CanInterface canInterface)
Information about a network interface specified by the Controller Area Network (CAN) protocol.
|
NetworkInterface |
withInterfaceId(String interfaceId)
The ID of the network interface.
|
NetworkInterface |
withObdInterface(ObdInterface obdInterface)
Information about a network interface specified by the On-board diagnostic (OBD) II protocol.
|
NetworkInterface |
withType(NetworkInterfaceType type)
The network protocol for the vehicle.
|
NetworkInterface |
withType(String type)
The network protocol for the vehicle.
|
NetworkInterface |
withVehicleMiddleware(VehicleMiddleware vehicleMiddleware)
The vehicle middleware defined as a type of network interface.
|
public void setInterfaceId(String interfaceId)
The ID of the network interface.
interfaceId - The ID of the network interface.public String getInterfaceId()
The ID of the network interface.
public NetworkInterface withInterfaceId(String interfaceId)
The ID of the network interface.
interfaceId - The ID of the network interface.public void setType(String type)
The network protocol for the vehicle. For example, CAN_SIGNAL specifies a protocol that defines how
data is communicated between electronic control units (ECUs). OBD_SIGNAL specifies a protocol that
defines how self-diagnostic data is communicated between ECUs.
type - The network protocol for the vehicle. For example, CAN_SIGNAL specifies a protocol that
defines how data is communicated between electronic control units (ECUs). OBD_SIGNAL
specifies a protocol that defines how self-diagnostic data is communicated between ECUs.NetworkInterfaceTypepublic String getType()
The network protocol for the vehicle. For example, CAN_SIGNAL specifies a protocol that defines how
data is communicated between electronic control units (ECUs). OBD_SIGNAL specifies a protocol that
defines how self-diagnostic data is communicated between ECUs.
CAN_SIGNAL specifies a protocol that
defines how data is communicated between electronic control units (ECUs). OBD_SIGNAL
specifies a protocol that defines how self-diagnostic data is communicated between ECUs.NetworkInterfaceTypepublic NetworkInterface withType(String type)
The network protocol for the vehicle. For example, CAN_SIGNAL specifies a protocol that defines how
data is communicated between electronic control units (ECUs). OBD_SIGNAL specifies a protocol that
defines how self-diagnostic data is communicated between ECUs.
type - The network protocol for the vehicle. For example, CAN_SIGNAL specifies a protocol that
defines how data is communicated between electronic control units (ECUs). OBD_SIGNAL
specifies a protocol that defines how self-diagnostic data is communicated between ECUs.NetworkInterfaceTypepublic NetworkInterface withType(NetworkInterfaceType type)
The network protocol for the vehicle. For example, CAN_SIGNAL specifies a protocol that defines how
data is communicated between electronic control units (ECUs). OBD_SIGNAL specifies a protocol that
defines how self-diagnostic data is communicated between ECUs.
type - The network protocol for the vehicle. For example, CAN_SIGNAL specifies a protocol that
defines how data is communicated between electronic control units (ECUs). OBD_SIGNAL
specifies a protocol that defines how self-diagnostic data is communicated between ECUs.NetworkInterfaceTypepublic void setCanInterface(CanInterface canInterface)
Information about a network interface specified by the Controller Area Network (CAN) protocol.
canInterface - Information about a network interface specified by the Controller Area Network (CAN) protocol.public CanInterface getCanInterface()
Information about a network interface specified by the Controller Area Network (CAN) protocol.
public NetworkInterface withCanInterface(CanInterface canInterface)
Information about a network interface specified by the Controller Area Network (CAN) protocol.
canInterface - Information about a network interface specified by the Controller Area Network (CAN) protocol.public void setObdInterface(ObdInterface obdInterface)
Information about a network interface specified by the On-board diagnostic (OBD) II protocol.
obdInterface - Information about a network interface specified by the On-board diagnostic (OBD) II protocol.public ObdInterface getObdInterface()
Information about a network interface specified by the On-board diagnostic (OBD) II protocol.
public NetworkInterface withObdInterface(ObdInterface obdInterface)
Information about a network interface specified by the On-board diagnostic (OBD) II protocol.
obdInterface - Information about a network interface specified by the On-board diagnostic (OBD) II protocol.public void setVehicleMiddleware(VehicleMiddleware vehicleMiddleware)
The vehicle middleware defined as a type of network interface. Examples of vehicle middleware include
ROS2 and SOME/IP.
vehicleMiddleware - The vehicle middleware defined as a type of network interface. Examples of vehicle middleware include
ROS2 and SOME/IP.public VehicleMiddleware getVehicleMiddleware()
The vehicle middleware defined as a type of network interface. Examples of vehicle middleware include
ROS2 and SOME/IP.
ROS2 and SOME/IP.public NetworkInterface withVehicleMiddleware(VehicleMiddleware vehicleMiddleware)
The vehicle middleware defined as a type of network interface. Examples of vehicle middleware include
ROS2 and SOME/IP.
vehicleMiddleware - The vehicle middleware defined as a type of network interface. Examples of vehicle middleware include
ROS2 and SOME/IP.public String toString()
toString in class ObjectObject.toString()public NetworkInterface clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.