@Generated(value="software.amazon.awssdk:codegen") public final class NetworkInterface extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NetworkInterface.Builder,NetworkInterface>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
NetworkInterface.Builder |
| Modifier and Type | Method and Description |
|---|---|
static NetworkInterface.Builder |
builder() |
CanInterface |
canInterface()
Information about a network interface specified by the Controller Area Network (CAN) protocol.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
interfaceId()
The ID of the network interface.
|
ObdInterface |
obdInterface()
Information about a network interface specified by the On-board diagnostic (OBD) II protocol.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends NetworkInterface.Builder> |
serializableBuilderClass() |
NetworkInterface.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
NetworkInterfaceType |
type()
The network protocol for the vehicle.
|
String |
typeAsString()
The network protocol for the vehicle.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String interfaceId()
The ID of the network interface.
public final 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.
If the service returns an enum value that is not available in the current SDK version, type will return
NetworkInterfaceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
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 final String typeAsString()
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.
If the service returns an enum value that is not available in the current SDK version, type will return
NetworkInterfaceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
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 final CanInterface canInterface()
Information about a network interface specified by the Controller Area Network (CAN) protocol.
public final ObdInterface obdInterface()
Information about a network interface specified by the On-board diagnostic (OBD) II protocol.
public NetworkInterface.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<NetworkInterface.Builder,NetworkInterface>public static NetworkInterface.Builder builder()
public static Class<? extends NetworkInterface.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.