public static interface NetworkInterface.Builder extends SdkPojo, CopyableBuilder<NetworkInterface.Builder,NetworkInterface>
| Modifier and Type | Method and Description |
|---|---|
NetworkInterface.Builder |
canInterface(CanInterface canInterface)
Information about a network interface specified by the Controller Area Network (CAN) protocol.
|
default NetworkInterface.Builder |
canInterface(Consumer<CanInterface.Builder> canInterface)
Information about a network interface specified by the Controller Area Network (CAN) protocol.
|
NetworkInterface.Builder |
interfaceId(String interfaceId)
The ID of the network interface.
|
default NetworkInterface.Builder |
obdInterface(Consumer<ObdInterface.Builder> obdInterface)
Information about a network interface specified by the On-board diagnostic (OBD) II protocol.
|
NetworkInterface.Builder |
obdInterface(ObdInterface obdInterface)
Information about a network interface specified by the On-board diagnostic (OBD) II protocol.
|
NetworkInterface.Builder |
type(NetworkInterfaceType type)
The network protocol for the vehicle.
|
NetworkInterface.Builder |
type(String type)
The network protocol for the vehicle.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildNetworkInterface.Builder interfaceId(String interfaceId)
The ID of the network interface.
interfaceId - The ID of the network interface.NetworkInterface.Builder type(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.NetworkInterfaceType,
NetworkInterfaceTypeNetworkInterface.Builder type(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.NetworkInterfaceType,
NetworkInterfaceTypeNetworkInterface.Builder canInterface(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.default NetworkInterface.Builder canInterface(Consumer<CanInterface.Builder> canInterface)
Information about a network interface specified by the Controller Area Network (CAN) protocol.
This is a convenience method that creates an instance of theCanInterface.Builder avoiding the need
to create one manually via CanInterface.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to canInterface(CanInterface).
canInterface - a consumer that will call methods on CanInterface.BuildercanInterface(CanInterface)NetworkInterface.Builder obdInterface(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.default NetworkInterface.Builder obdInterface(Consumer<ObdInterface.Builder> obdInterface)
Information about a network interface specified by the On-board diagnostic (OBD) II protocol.
This is a convenience method that creates an instance of theObdInterface.Builder avoiding the need
to create one manually via ObdInterface.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to obdInterface(ObdInterface).
obdInterface - a consumer that will call methods on ObdInterface.BuilderobdInterface(ObdInterface)Copyright © 2022. All rights reserved.