Interface NetworkInterface.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NetworkInterface.Builder,,NetworkInterface> SdkBuilder<NetworkInterface.Builder,,NetworkInterface> SdkPojo
- Enclosing class:
NetworkInterface
-
Method Summary
Modifier and TypeMethodDescriptiondefault NetworkInterface.BuildercanInterface(Consumer<CanInterface.Builder> canInterface) Information about a network interface specified by the Controller Area Network (CAN) protocol.canInterface(CanInterface canInterface) Information about a network interface specified by the Controller Area Network (CAN) protocol.interfaceId(String interfaceId) The ID of the network interface.default NetworkInterface.BuilderobdInterface(Consumer<ObdInterface.Builder> obdInterface) Information about a network interface specified by the On-board diagnostic (OBD) II protocol.obdInterface(ObdInterface obdInterface) Information about a network interface specified by the On-board diagnostic (OBD) II protocol.The network protocol for the vehicle.type(NetworkInterfaceType type) The network protocol for the vehicle.default NetworkInterface.BuildervehicleMiddleware(Consumer<VehicleMiddleware.Builder> vehicleMiddleware) The vehicle middleware defined as a type of network interface.vehicleMiddleware(VehicleMiddleware vehicleMiddleware) The vehicle middleware defined as a type of network interface.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
interfaceId
The ID of the network interface.
- Parameters:
interfaceId- The ID of the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The network protocol for the vehicle. For example,
CAN_SIGNALspecifies a protocol that defines how data is communicated between electronic control units (ECUs).OBD_SIGNALspecifies a protocol that defines how self-diagnostic data is communicated between ECUs.- Parameters:
type- The network protocol for the vehicle. For example,CAN_SIGNALspecifies a protocol that defines how data is communicated between electronic control units (ECUs).OBD_SIGNALspecifies a protocol that defines how self-diagnostic data is communicated between ECUs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The network protocol for the vehicle. For example,
CAN_SIGNALspecifies a protocol that defines how data is communicated between electronic control units (ECUs).OBD_SIGNALspecifies a protocol that defines how self-diagnostic data is communicated between ECUs.- Parameters:
type- The network protocol for the vehicle. For example,CAN_SIGNALspecifies a protocol that defines how data is communicated between electronic control units (ECUs).OBD_SIGNALspecifies a protocol that defines how self-diagnostic data is communicated between ECUs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
canInterface
Information about a network interface specified by the Controller Area Network (CAN) protocol.
- Parameters:
canInterface- Information about a network interface specified by the Controller Area Network (CAN) protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.Builderavoiding the need to create one manually viaCanInterface.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocanInterface(CanInterface).- Parameters:
canInterface- a consumer that will call methods onCanInterface.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
obdInterface
Information about a network interface specified by the On-board diagnostic (OBD) II protocol.
- Parameters:
obdInterface- Information about a network interface specified by the On-board diagnostic (OBD) II protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.Builderavoiding the need to create one manually viaObdInterface.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toobdInterface(ObdInterface).- Parameters:
obdInterface- a consumer that will call methods onObdInterface.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vehicleMiddleware
The vehicle middleware defined as a type of network interface. Examples of vehicle middleware include
ROS2andSOME/IP.- Parameters:
vehicleMiddleware- The vehicle middleware defined as a type of network interface. Examples of vehicle middleware includeROS2andSOME/IP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vehicleMiddleware
default NetworkInterface.Builder vehicleMiddleware(Consumer<VehicleMiddleware.Builder> vehicleMiddleware) The vehicle middleware defined as a type of network interface. Examples of vehicle middleware include
This is a convenience method that creates an instance of theROS2andSOME/IP.VehicleMiddleware.Builderavoiding the need to create one manually viaVehicleMiddleware.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovehicleMiddleware(VehicleMiddleware).- Parameters:
vehicleMiddleware- a consumer that will call methods onVehicleMiddleware.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-