@Generated(value="software.amazon.awssdk:codegen") public final class NetworkInterface extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NetworkInterface.Builder,NetworkInterface>
Modifier and Type | Class and Description |
---|---|
static interface |
NetworkInterface.Builder |
Modifier and Type | Method and Description |
---|---|
static NetworkInterface.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<String> |
ipv6Addresses()
A list of EC2 instance IPv6 address information.
|
String |
networkInterfaceId()
The ID of the network interface
|
String |
privateDnsName()
Private DNS name of the EC2 instance.
|
String |
privateIpAddress()
Private IP address of the EC2 instance.
|
List<PrivateIpAddressDetails> |
privateIpAddresses()
Other private IP address information of the EC2 instance.
|
String |
publicDnsName()
Public DNS name of the EC2 instance.
|
String |
publicIp()
Public IP address of the EC2 instance.
|
List<SdkField<?>> |
sdkFields() |
List<SecurityGroup> |
securityGroups()
Security groups associated with the EC2 instance.
|
static Class<? extends NetworkInterface.Builder> |
serializableBuilderClass() |
String |
subnetId()
The subnet ID of the EC2 instance.
|
NetworkInterface.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
vpcId()
The VPC ID of the EC2 instance.
|
copy
public List<String> ipv6Addresses()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String networkInterfaceId()
public String privateDnsName()
public String privateIpAddress()
public List<PrivateIpAddressDetails> privateIpAddresses()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String publicDnsName()
public String publicIp()
public List<SecurityGroup> securityGroups()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String subnetId()
public String vpcId()
public NetworkInterface.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<NetworkInterface.Builder,NetworkInterface>
public static NetworkInterface.Builder builder()
public static Class<? extends NetworkInterface.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.