@Generated(value="software.amazon.awssdk:codegen") public final class NetworkInterface extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NetworkInterface.Builder,NetworkInterface>
The structure that contains information about a network interface.
| Modifier and Type | Class and Description |
|---|---|
static interface |
NetworkInterface.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
availabilityZone()
The availability zone that the network interface resides in.
|
static NetworkInterface.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
errorMessage()
An error message.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
networkInterfaceId()
The network interface ID.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends NetworkInterface.Builder> |
serializableBuilderClass() |
NetworkInterfaceStatus |
status()
The status of the network interface.
|
String |
statusAsString()
The status of the network interface.
|
String |
subnetId()
The subnet ID associated with the network interface.
|
NetworkInterface.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String subnetId()
The subnet ID associated with the network interface.
public final String availabilityZone()
The availability zone that the network interface resides in.
public final String errorMessage()
An error message.
public final NetworkInterfaceStatus status()
The status of the network interface.
If the service returns an enum value that is not available in the current SDK version, status will
return NetworkInterfaceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
NetworkInterfaceStatuspublic final String statusAsString()
The status of the network interface.
If the service returns an enum value that is not available in the current SDK version, status will
return NetworkInterfaceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
NetworkInterfaceStatuspublic final String networkInterfaceId()
The network interface ID.
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 © 2023. All rights reserved.