@Generated(value="software.amazon.awssdk:codegen") public final class AwsEc2NetworkInterfaceDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsEc2NetworkInterfaceDetails.Builder,AwsEc2NetworkInterfaceDetails>
Details about the network interface
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsEc2NetworkInterfaceDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
AwsEc2NetworkInterfaceAttachment |
attachment()
The network interface attachment.
|
static AwsEc2NetworkInterfaceDetails.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasIpV6Addresses()
Returns true if the IpV6Addresses property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasPrivateIpAddresses()
Returns true if the PrivateIpAddresses property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasSecurityGroups()
Returns true if the SecurityGroups 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<AwsEc2NetworkInterfaceIpV6AddressDetail> |
ipV6Addresses()
The IPv6 addresses associated with the network interface.
|
String |
networkInterfaceId()
The ID of the network interface.
|
List<AwsEc2NetworkInterfacePrivateIpAddressDetail> |
privateIpAddresses()
The private IPv4 addresses associated with the network interface.
|
String |
publicDnsName()
The public DNS name of the network interface.
|
String |
publicIp()
The address of the Elastic IP address bound to the network interface.
|
List<SdkField<?>> |
sdkFields() |
List<AwsEc2NetworkInterfaceSecurityGroup> |
securityGroups()
Security groups for the network interface.
|
static Class<? extends AwsEc2NetworkInterfaceDetails.Builder> |
serializableBuilderClass() |
Boolean |
sourceDestCheck()
Indicates whether traffic to or from the instance is validated.
|
AwsEc2NetworkInterfaceDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final AwsEc2NetworkInterfaceAttachment attachment()
The network interface attachment.
public final String networkInterfaceId()
The ID of the network interface.
public final boolean hasSecurityGroups()
public final List<AwsEc2NetworkInterfaceSecurityGroup> securityGroups()
Security groups for the network interface.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSecurityGroups() to see if a value was sent in this field.
public final Boolean sourceDestCheck()
Indicates whether traffic to or from the instance is validated.
public final boolean hasIpV6Addresses()
public final List<AwsEc2NetworkInterfaceIpV6AddressDetail> ipV6Addresses()
The IPv6 addresses associated with the network interface.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasIpV6Addresses() to see if a value was sent in this field.
public final boolean hasPrivateIpAddresses()
public final List<AwsEc2NetworkInterfacePrivateIpAddressDetail> privateIpAddresses()
The private IPv4 addresses associated with the network interface.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasPrivateIpAddresses() to see if a value was sent in this field.
public final String publicDnsName()
The public DNS name of the network interface.
public final String publicIp()
The address of the Elastic IP address bound to the network interface.
public AwsEc2NetworkInterfaceDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AwsEc2NetworkInterfaceDetails.Builder,AwsEc2NetworkInterfaceDetails>public static AwsEc2NetworkInterfaceDetails.Builder builder()
public static Class<? extends AwsEc2NetworkInterfaceDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.