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.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.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, 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:
-