@Generated(value="software.amazon.awssdk:codegen") public final class NetworkInterface extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NetworkInterface.Builder,NetworkInterface>
Network interface.
| Modifier and Type | Class and Description |
|---|---|
static interface |
NetworkInterface.Builder |
| Modifier and Type | Method and Description |
|---|---|
static NetworkInterface.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasIps()
Returns true if the Ips property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
List<String> |
ips()
Network interface IPs.
|
Boolean |
isPrimary()
Network interface primary IP.
|
String |
macAddress()
Network interface Mac address.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends NetworkInterface.Builder> |
serializableBuilderClass() |
NetworkInterface.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasIps()
public final List<String> ips()
Network interface IPs.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasIps() to see if a value was sent in this field.
public final Boolean isPrimary()
Network interface primary IP.
public final String macAddress()
Network interface Mac address.
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 © 2021. All rights reserved.