Interface NetworkInterface.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NetworkInterface.Builder,
,NetworkInterface> SdkBuilder<NetworkInterface.Builder,
,NetworkInterface> SdkPojo
- Enclosing class:
NetworkInterface
-
Method Summary
Modifier and TypeMethodDescriptiondefault NetworkInterface.Builder
canInterface
(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.default NetworkInterface.Builder
customDecodingInterface
(Consumer<CustomDecodingInterface.Builder> customDecodingInterface) Information about a custom network interface.customDecodingInterface
(CustomDecodingInterface customDecodingInterface) Information about a custom network interface.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.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.Builder
vehicleMiddleware
(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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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_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.- Parameters:
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.- 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_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.- Parameters:
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.- 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.Builder
avoiding the need to create one manually viaCanInterface.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaObdInterface.builder()
.When the
Consumer
completes,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
ROS2
andSOME/IP
.- Parameters:
vehicleMiddleware
- The vehicle middleware defined as a type of network interface. Examples of vehicle middleware includeROS2
andSOME/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 theROS2
andSOME/IP
.VehicleMiddleware.Builder
avoiding the need to create one manually viaVehicleMiddleware.builder()
.When the
Consumer
completes,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:
-
customDecodingInterface
Information about a custom network interface.
- Parameters:
customDecodingInterface
- Information about a custom network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customDecodingInterface
default NetworkInterface.Builder customDecodingInterface(Consumer<CustomDecodingInterface.Builder> customDecodingInterface) Information about a custom network interface.
This is a convenience method that creates an instance of theCustomDecodingInterface.Builder
avoiding the need to create one manually viaCustomDecodingInterface.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomDecodingInterface(CustomDecodingInterface)
.- Parameters:
customDecodingInterface
- a consumer that will call methods onCustomDecodingInterface.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-