@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkInterface extends Object implements Serializable, Cloneable
Describes a network interface.
Constructor and Description |
---|
NetworkInterface() |
Modifier and Type | Method and Description |
---|---|
NetworkInterface |
clone() |
boolean |
equals(Object obj) |
NetworkInterfaceAssociation |
getAssociation()
The association information for an Elastic IP address (IPv4) associated with the network interface.
|
NetworkInterfaceAttachment |
getAttachment()
The network interface attachment.
|
String |
getAvailabilityZone()
The Availability Zone.
|
ConnectionTrackingConfiguration |
getConnectionTrackingConfiguration()
A security group connection tracking configuration that enables you to set the timeout for connection tracking on
an Elastic network interface.
|
Boolean |
getDenyAllIgwTraffic()
Indicates whether a network interface with an IPv6 address is unreachable from the public internet.
|
String |
getDescription()
A description.
|
List<GroupIdentifier> |
getGroups()
Any security groups for the network interface.
|
String |
getInterfaceType()
The type of network interface.
|
List<Ipv4PrefixSpecification> |
getIpv4Prefixes()
The IPv4 prefixes that are assigned to the network interface.
|
String |
getIpv6Address()
The IPv6 globally unique address associated with the network interface.
|
List<NetworkInterfaceIpv6Address> |
getIpv6Addresses()
The IPv6 addresses associated with the network interface.
|
Boolean |
getIpv6Native()
Indicates whether this is an IPv6 only network interface.
|
List<Ipv6PrefixSpecification> |
getIpv6Prefixes()
The IPv6 prefixes that are assigned to the network interface.
|
String |
getMacAddress()
The MAC address.
|
String |
getNetworkInterfaceId()
The ID of the network interface.
|
String |
getOutpostArn()
The Amazon Resource Name (ARN) of the Outpost.
|
String |
getOwnerId()
The Amazon Web Services account ID of the owner of the network interface.
|
String |
getPrivateDnsName()
The private DNS name.
|
String |
getPrivateIpAddress()
The IPv4 address of the network interface within the subnet.
|
List<NetworkInterfacePrivateIpAddress> |
getPrivateIpAddresses()
The private IPv4 addresses associated with the network interface.
|
String |
getRequesterId()
The alias or Amazon Web Services account ID of the principal or service that created the network interface.
|
Boolean |
getRequesterManaged()
Indicates whether the network interface is being managed by Amazon Web Services.
|
Boolean |
getSourceDestCheck()
Indicates whether source/destination checking is enabled.
|
String |
getStatus()
The status of the network interface.
|
String |
getSubnetId()
The ID of the subnet.
|
List<Tag> |
getTagSet()
Any tags assigned to the network interface.
|
String |
getVpcId()
The ID of the VPC.
|
int |
hashCode() |
Boolean |
isDenyAllIgwTraffic()
Indicates whether a network interface with an IPv6 address is unreachable from the public internet.
|
Boolean |
isIpv6Native()
Indicates whether this is an IPv6 only network interface.
|
Boolean |
isRequesterManaged()
Indicates whether the network interface is being managed by Amazon Web Services.
|
Boolean |
isSourceDestCheck()
Indicates whether source/destination checking is enabled.
|
void |
setAssociation(NetworkInterfaceAssociation association)
The association information for an Elastic IP address (IPv4) associated with the network interface.
|
void |
setAttachment(NetworkInterfaceAttachment attachment)
The network interface attachment.
|
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone.
|
void |
setConnectionTrackingConfiguration(ConnectionTrackingConfiguration connectionTrackingConfiguration)
A security group connection tracking configuration that enables you to set the timeout for connection tracking on
an Elastic network interface.
|
void |
setDenyAllIgwTraffic(Boolean denyAllIgwTraffic)
Indicates whether a network interface with an IPv6 address is unreachable from the public internet.
|
void |
setDescription(String description)
A description.
|
void |
setGroups(Collection<GroupIdentifier> groups)
Any security groups for the network interface.
|
void |
setInterfaceType(NetworkInterfaceType interfaceType)
The type of network interface.
|
void |
setInterfaceType(String interfaceType)
The type of network interface.
|
void |
setIpv4Prefixes(Collection<Ipv4PrefixSpecification> ipv4Prefixes)
The IPv4 prefixes that are assigned to the network interface.
|
void |
setIpv6Address(String ipv6Address)
The IPv6 globally unique address associated with the network interface.
|
void |
setIpv6Addresses(Collection<NetworkInterfaceIpv6Address> ipv6Addresses)
The IPv6 addresses associated with the network interface.
|
void |
setIpv6Native(Boolean ipv6Native)
Indicates whether this is an IPv6 only network interface.
|
void |
setIpv6Prefixes(Collection<Ipv6PrefixSpecification> ipv6Prefixes)
The IPv6 prefixes that are assigned to the network interface.
|
void |
setMacAddress(String macAddress)
The MAC address.
|
void |
setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
void |
setOutpostArn(String outpostArn)
The Amazon Resource Name (ARN) of the Outpost.
|
void |
setOwnerId(String ownerId)
The Amazon Web Services account ID of the owner of the network interface.
|
void |
setPrivateDnsName(String privateDnsName)
The private DNS name.
|
void |
setPrivateIpAddress(String privateIpAddress)
The IPv4 address of the network interface within the subnet.
|
void |
setPrivateIpAddresses(Collection<NetworkInterfacePrivateIpAddress> privateIpAddresses)
The private IPv4 addresses associated with the network interface.
|
void |
setRequesterId(String requesterId)
The alias or Amazon Web Services account ID of the principal or service that created the network interface.
|
void |
setRequesterManaged(Boolean requesterManaged)
Indicates whether the network interface is being managed by Amazon Web Services.
|
void |
setSourceDestCheck(Boolean sourceDestCheck)
Indicates whether source/destination checking is enabled.
|
void |
setStatus(NetworkInterfaceStatus status)
The status of the network interface.
|
void |
setStatus(String status)
The status of the network interface.
|
void |
setSubnetId(String subnetId)
The ID of the subnet.
|
void |
setTagSet(Collection<Tag> tagSet)
Any tags assigned to the network interface.
|
void |
setVpcId(String vpcId)
The ID of the VPC.
|
String |
toString()
Returns a string representation of this object.
|
NetworkInterface |
withAssociation(NetworkInterfaceAssociation association)
The association information for an Elastic IP address (IPv4) associated with the network interface.
|
NetworkInterface |
withAttachment(NetworkInterfaceAttachment attachment)
The network interface attachment.
|
NetworkInterface |
withAvailabilityZone(String availabilityZone)
The Availability Zone.
|
NetworkInterface |
withConnectionTrackingConfiguration(ConnectionTrackingConfiguration connectionTrackingConfiguration)
A security group connection tracking configuration that enables you to set the timeout for connection tracking on
an Elastic network interface.
|
NetworkInterface |
withDenyAllIgwTraffic(Boolean denyAllIgwTraffic)
Indicates whether a network interface with an IPv6 address is unreachable from the public internet.
|
NetworkInterface |
withDescription(String description)
A description.
|
NetworkInterface |
withGroups(Collection<GroupIdentifier> groups)
Any security groups for the network interface.
|
NetworkInterface |
withGroups(GroupIdentifier... groups)
Any security groups for the network interface.
|
NetworkInterface |
withInterfaceType(NetworkInterfaceType interfaceType)
The type of network interface.
|
NetworkInterface |
withInterfaceType(String interfaceType)
The type of network interface.
|
NetworkInterface |
withIpv4Prefixes(Collection<Ipv4PrefixSpecification> ipv4Prefixes)
The IPv4 prefixes that are assigned to the network interface.
|
NetworkInterface |
withIpv4Prefixes(Ipv4PrefixSpecification... ipv4Prefixes)
The IPv4 prefixes that are assigned to the network interface.
|
NetworkInterface |
withIpv6Address(String ipv6Address)
The IPv6 globally unique address associated with the network interface.
|
NetworkInterface |
withIpv6Addresses(Collection<NetworkInterfaceIpv6Address> ipv6Addresses)
The IPv6 addresses associated with the network interface.
|
NetworkInterface |
withIpv6Addresses(NetworkInterfaceIpv6Address... ipv6Addresses)
The IPv6 addresses associated with the network interface.
|
NetworkInterface |
withIpv6Native(Boolean ipv6Native)
Indicates whether this is an IPv6 only network interface.
|
NetworkInterface |
withIpv6Prefixes(Collection<Ipv6PrefixSpecification> ipv6Prefixes)
The IPv6 prefixes that are assigned to the network interface.
|
NetworkInterface |
withIpv6Prefixes(Ipv6PrefixSpecification... ipv6Prefixes)
The IPv6 prefixes that are assigned to the network interface.
|
NetworkInterface |
withMacAddress(String macAddress)
The MAC address.
|
NetworkInterface |
withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
NetworkInterface |
withOutpostArn(String outpostArn)
The Amazon Resource Name (ARN) of the Outpost.
|
NetworkInterface |
withOwnerId(String ownerId)
The Amazon Web Services account ID of the owner of the network interface.
|
NetworkInterface |
withPrivateDnsName(String privateDnsName)
The private DNS name.
|
NetworkInterface |
withPrivateIpAddress(String privateIpAddress)
The IPv4 address of the network interface within the subnet.
|
NetworkInterface |
withPrivateIpAddresses(Collection<NetworkInterfacePrivateIpAddress> privateIpAddresses)
The private IPv4 addresses associated with the network interface.
|
NetworkInterface |
withPrivateIpAddresses(NetworkInterfacePrivateIpAddress... privateIpAddresses)
The private IPv4 addresses associated with the network interface.
|
NetworkInterface |
withRequesterId(String requesterId)
The alias or Amazon Web Services account ID of the principal or service that created the network interface.
|
NetworkInterface |
withRequesterManaged(Boolean requesterManaged)
Indicates whether the network interface is being managed by Amazon Web Services.
|
NetworkInterface |
withSourceDestCheck(Boolean sourceDestCheck)
Indicates whether source/destination checking is enabled.
|
NetworkInterface |
withStatus(NetworkInterfaceStatus status)
The status of the network interface.
|
NetworkInterface |
withStatus(String status)
The status of the network interface.
|
NetworkInterface |
withSubnetId(String subnetId)
The ID of the subnet.
|
NetworkInterface |
withTagSet(Collection<Tag> tagSet)
Any tags assigned to the network interface.
|
NetworkInterface |
withTagSet(Tag... tagSet)
Any tags assigned to the network interface.
|
NetworkInterface |
withVpcId(String vpcId)
The ID of the VPC.
|
public void setAssociation(NetworkInterfaceAssociation association)
The association information for an Elastic IP address (IPv4) associated with the network interface.
association
- The association information for an Elastic IP address (IPv4) associated with the network interface.public NetworkInterfaceAssociation getAssociation()
The association information for an Elastic IP address (IPv4) associated with the network interface.
public NetworkInterface withAssociation(NetworkInterfaceAssociation association)
The association information for an Elastic IP address (IPv4) associated with the network interface.
association
- The association information for an Elastic IP address (IPv4) associated with the network interface.public void setAttachment(NetworkInterfaceAttachment attachment)
The network interface attachment.
attachment
- The network interface attachment.public NetworkInterfaceAttachment getAttachment()
The network interface attachment.
public NetworkInterface withAttachment(NetworkInterfaceAttachment attachment)
The network interface attachment.
attachment
- The network interface attachment.public void setAvailabilityZone(String availabilityZone)
The Availability Zone.
availabilityZone
- The Availability Zone.public String getAvailabilityZone()
The Availability Zone.
public NetworkInterface withAvailabilityZone(String availabilityZone)
The Availability Zone.
availabilityZone
- The Availability Zone.public void setConnectionTrackingConfiguration(ConnectionTrackingConfiguration connectionTrackingConfiguration)
A security group connection tracking configuration that enables you to set the timeout for connection tracking on an Elastic network interface. For more information, see Connection tracking timeouts in the Amazon EC2 User Guide.
connectionTrackingConfiguration
- A security group connection tracking configuration that enables you to set the timeout for connection
tracking on an Elastic network interface. For more information, see Connection tracking timeouts in the Amazon EC2 User Guide.public ConnectionTrackingConfiguration getConnectionTrackingConfiguration()
A security group connection tracking configuration that enables you to set the timeout for connection tracking on an Elastic network interface. For more information, see Connection tracking timeouts in the Amazon EC2 User Guide.
public NetworkInterface withConnectionTrackingConfiguration(ConnectionTrackingConfiguration connectionTrackingConfiguration)
A security group connection tracking configuration that enables you to set the timeout for connection tracking on an Elastic network interface. For more information, see Connection tracking timeouts in the Amazon EC2 User Guide.
connectionTrackingConfiguration
- A security group connection tracking configuration that enables you to set the timeout for connection
tracking on an Elastic network interface. For more information, see Connection tracking timeouts in the Amazon EC2 User Guide.public void setDescription(String description)
A description.
description
- A description.public String getDescription()
A description.
public NetworkInterface withDescription(String description)
A description.
description
- A description.public List<GroupIdentifier> getGroups()
Any security groups for the network interface.
public void setGroups(Collection<GroupIdentifier> groups)
Any security groups for the network interface.
groups
- Any security groups for the network interface.public NetworkInterface withGroups(GroupIdentifier... groups)
Any security groups for the network interface.
NOTE: This method appends the values to the existing list (if any). Use
setGroups(java.util.Collection)
or withGroups(java.util.Collection)
if you want to override the
existing values.
groups
- Any security groups for the network interface.public NetworkInterface withGroups(Collection<GroupIdentifier> groups)
Any security groups for the network interface.
groups
- Any security groups for the network interface.public void setInterfaceType(String interfaceType)
The type of network interface.
interfaceType
- The type of network interface.NetworkInterfaceType
public String getInterfaceType()
The type of network interface.
NetworkInterfaceType
public NetworkInterface withInterfaceType(String interfaceType)
The type of network interface.
interfaceType
- The type of network interface.NetworkInterfaceType
public void setInterfaceType(NetworkInterfaceType interfaceType)
The type of network interface.
interfaceType
- The type of network interface.NetworkInterfaceType
public NetworkInterface withInterfaceType(NetworkInterfaceType interfaceType)
The type of network interface.
interfaceType
- The type of network interface.NetworkInterfaceType
public List<NetworkInterfaceIpv6Address> getIpv6Addresses()
The IPv6 addresses associated with the network interface.
public void setIpv6Addresses(Collection<NetworkInterfaceIpv6Address> ipv6Addresses)
The IPv6 addresses associated with the network interface.
ipv6Addresses
- The IPv6 addresses associated with the network interface.public NetworkInterface withIpv6Addresses(NetworkInterfaceIpv6Address... ipv6Addresses)
The IPv6 addresses associated with the network interface.
NOTE: This method appends the values to the existing list (if any). Use
setIpv6Addresses(java.util.Collection)
or withIpv6Addresses(java.util.Collection)
if you want
to override the existing values.
ipv6Addresses
- The IPv6 addresses associated with the network interface.public NetworkInterface withIpv6Addresses(Collection<NetworkInterfaceIpv6Address> ipv6Addresses)
The IPv6 addresses associated with the network interface.
ipv6Addresses
- The IPv6 addresses associated with the network interface.public void setMacAddress(String macAddress)
The MAC address.
macAddress
- The MAC address.public String getMacAddress()
The MAC address.
public NetworkInterface withMacAddress(String macAddress)
The MAC address.
macAddress
- The MAC address.public void setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.public String getNetworkInterfaceId()
The ID of the network interface.
public NetworkInterface withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.public void setOutpostArn(String outpostArn)
The Amazon Resource Name (ARN) of the Outpost.
outpostArn
- The Amazon Resource Name (ARN) of the Outpost.public String getOutpostArn()
The Amazon Resource Name (ARN) of the Outpost.
public NetworkInterface withOutpostArn(String outpostArn)
The Amazon Resource Name (ARN) of the Outpost.
outpostArn
- The Amazon Resource Name (ARN) of the Outpost.public void setOwnerId(String ownerId)
The Amazon Web Services account ID of the owner of the network interface.
ownerId
- The Amazon Web Services account ID of the owner of the network interface.public String getOwnerId()
The Amazon Web Services account ID of the owner of the network interface.
public NetworkInterface withOwnerId(String ownerId)
The Amazon Web Services account ID of the owner of the network interface.
ownerId
- The Amazon Web Services account ID of the owner of the network interface.public void setPrivateDnsName(String privateDnsName)
The private DNS name.
privateDnsName
- The private DNS name.public String getPrivateDnsName()
The private DNS name.
public NetworkInterface withPrivateDnsName(String privateDnsName)
The private DNS name.
privateDnsName
- The private DNS name.public void setPrivateIpAddress(String privateIpAddress)
The IPv4 address of the network interface within the subnet.
privateIpAddress
- The IPv4 address of the network interface within the subnet.public String getPrivateIpAddress()
The IPv4 address of the network interface within the subnet.
public NetworkInterface withPrivateIpAddress(String privateIpAddress)
The IPv4 address of the network interface within the subnet.
privateIpAddress
- The IPv4 address of the network interface within the subnet.public List<NetworkInterfacePrivateIpAddress> getPrivateIpAddresses()
The private IPv4 addresses associated with the network interface.
public void setPrivateIpAddresses(Collection<NetworkInterfacePrivateIpAddress> privateIpAddresses)
The private IPv4 addresses associated with the network interface.
privateIpAddresses
- The private IPv4 addresses associated with the network interface.public NetworkInterface withPrivateIpAddresses(NetworkInterfacePrivateIpAddress... privateIpAddresses)
The private IPv4 addresses associated with the network interface.
NOTE: This method appends the values to the existing list (if any). Use
setPrivateIpAddresses(java.util.Collection)
or withPrivateIpAddresses(java.util.Collection)
if
you want to override the existing values.
privateIpAddresses
- The private IPv4 addresses associated with the network interface.public NetworkInterface withPrivateIpAddresses(Collection<NetworkInterfacePrivateIpAddress> privateIpAddresses)
The private IPv4 addresses associated with the network interface.
privateIpAddresses
- The private IPv4 addresses associated with the network interface.public List<Ipv4PrefixSpecification> getIpv4Prefixes()
The IPv4 prefixes that are assigned to the network interface.
public void setIpv4Prefixes(Collection<Ipv4PrefixSpecification> ipv4Prefixes)
The IPv4 prefixes that are assigned to the network interface.
ipv4Prefixes
- The IPv4 prefixes that are assigned to the network interface.public NetworkInterface withIpv4Prefixes(Ipv4PrefixSpecification... ipv4Prefixes)
The IPv4 prefixes that are assigned to the network interface.
NOTE: This method appends the values to the existing list (if any). Use
setIpv4Prefixes(java.util.Collection)
or withIpv4Prefixes(java.util.Collection)
if you want to
override the existing values.
ipv4Prefixes
- The IPv4 prefixes that are assigned to the network interface.public NetworkInterface withIpv4Prefixes(Collection<Ipv4PrefixSpecification> ipv4Prefixes)
The IPv4 prefixes that are assigned to the network interface.
ipv4Prefixes
- The IPv4 prefixes that are assigned to the network interface.public List<Ipv6PrefixSpecification> getIpv6Prefixes()
The IPv6 prefixes that are assigned to the network interface.
public void setIpv6Prefixes(Collection<Ipv6PrefixSpecification> ipv6Prefixes)
The IPv6 prefixes that are assigned to the network interface.
ipv6Prefixes
- The IPv6 prefixes that are assigned to the network interface.public NetworkInterface withIpv6Prefixes(Ipv6PrefixSpecification... ipv6Prefixes)
The IPv6 prefixes that are assigned to the network interface.
NOTE: This method appends the values to the existing list (if any). Use
setIpv6Prefixes(java.util.Collection)
or withIpv6Prefixes(java.util.Collection)
if you want to
override the existing values.
ipv6Prefixes
- The IPv6 prefixes that are assigned to the network interface.public NetworkInterface withIpv6Prefixes(Collection<Ipv6PrefixSpecification> ipv6Prefixes)
The IPv6 prefixes that are assigned to the network interface.
ipv6Prefixes
- The IPv6 prefixes that are assigned to the network interface.public void setRequesterId(String requesterId)
The alias or Amazon Web Services account ID of the principal or service that created the network interface.
requesterId
- The alias or Amazon Web Services account ID of the principal or service that created the network
interface.public String getRequesterId()
The alias or Amazon Web Services account ID of the principal or service that created the network interface.
public NetworkInterface withRequesterId(String requesterId)
The alias or Amazon Web Services account ID of the principal or service that created the network interface.
requesterId
- The alias or Amazon Web Services account ID of the principal or service that created the network
interface.public void setRequesterManaged(Boolean requesterManaged)
Indicates whether the network interface is being managed by Amazon Web Services.
requesterManaged
- Indicates whether the network interface is being managed by Amazon Web Services.public Boolean getRequesterManaged()
Indicates whether the network interface is being managed by Amazon Web Services.
public NetworkInterface withRequesterManaged(Boolean requesterManaged)
Indicates whether the network interface is being managed by Amazon Web Services.
requesterManaged
- Indicates whether the network interface is being managed by Amazon Web Services.public Boolean isRequesterManaged()
Indicates whether the network interface is being managed by Amazon Web Services.
public void setSourceDestCheck(Boolean sourceDestCheck)
Indicates whether source/destination checking is enabled.
sourceDestCheck
- Indicates whether source/destination checking is enabled.public Boolean getSourceDestCheck()
Indicates whether source/destination checking is enabled.
public NetworkInterface withSourceDestCheck(Boolean sourceDestCheck)
Indicates whether source/destination checking is enabled.
sourceDestCheck
- Indicates whether source/destination checking is enabled.public Boolean isSourceDestCheck()
Indicates whether source/destination checking is enabled.
public void setStatus(String status)
The status of the network interface.
status
- The status of the network interface.NetworkInterfaceStatus
public String getStatus()
The status of the network interface.
NetworkInterfaceStatus
public NetworkInterface withStatus(String status)
The status of the network interface.
status
- The status of the network interface.NetworkInterfaceStatus
public void setStatus(NetworkInterfaceStatus status)
The status of the network interface.
status
- The status of the network interface.NetworkInterfaceStatus
public NetworkInterface withStatus(NetworkInterfaceStatus status)
The status of the network interface.
status
- The status of the network interface.NetworkInterfaceStatus
public void setSubnetId(String subnetId)
The ID of the subnet.
subnetId
- The ID of the subnet.public String getSubnetId()
The ID of the subnet.
public NetworkInterface withSubnetId(String subnetId)
The ID of the subnet.
subnetId
- The ID of the subnet.public List<Tag> getTagSet()
Any tags assigned to the network interface.
public void setTagSet(Collection<Tag> tagSet)
Any tags assigned to the network interface.
tagSet
- Any tags assigned to the network interface.public NetworkInterface withTagSet(Tag... tagSet)
Any tags assigned to the network interface.
NOTE: This method appends the values to the existing list (if any). Use
setTagSet(java.util.Collection)
or withTagSet(java.util.Collection)
if you want to override the
existing values.
tagSet
- Any tags assigned to the network interface.public NetworkInterface withTagSet(Collection<Tag> tagSet)
Any tags assigned to the network interface.
tagSet
- Any tags assigned to the network interface.public void setVpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public String getVpcId()
The ID of the VPC.
public NetworkInterface withVpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public void setDenyAllIgwTraffic(Boolean denyAllIgwTraffic)
Indicates whether a network interface with an IPv6 address is unreachable from the public internet. If the value
is true
, inbound traffic from the internet is dropped and you cannot assign an elastic IP address to
the network interface. The network interface is reachable from peered VPCs and resources connected through a
transit gateway, including on-premises networks.
denyAllIgwTraffic
- Indicates whether a network interface with an IPv6 address is unreachable from the public internet. If the
value is true
, inbound traffic from the internet is dropped and you cannot assign an elastic
IP address to the network interface. The network interface is reachable from peered VPCs and resources
connected through a transit gateway, including on-premises networks.public Boolean getDenyAllIgwTraffic()
Indicates whether a network interface with an IPv6 address is unreachable from the public internet. If the value
is true
, inbound traffic from the internet is dropped and you cannot assign an elastic IP address to
the network interface. The network interface is reachable from peered VPCs and resources connected through a
transit gateway, including on-premises networks.
true
, inbound traffic from the internet is dropped and you cannot assign an
elastic IP address to the network interface. The network interface is reachable from peered VPCs and
resources connected through a transit gateway, including on-premises networks.public NetworkInterface withDenyAllIgwTraffic(Boolean denyAllIgwTraffic)
Indicates whether a network interface with an IPv6 address is unreachable from the public internet. If the value
is true
, inbound traffic from the internet is dropped and you cannot assign an elastic IP address to
the network interface. The network interface is reachable from peered VPCs and resources connected through a
transit gateway, including on-premises networks.
denyAllIgwTraffic
- Indicates whether a network interface with an IPv6 address is unreachable from the public internet. If the
value is true
, inbound traffic from the internet is dropped and you cannot assign an elastic
IP address to the network interface. The network interface is reachable from peered VPCs and resources
connected through a transit gateway, including on-premises networks.public Boolean isDenyAllIgwTraffic()
Indicates whether a network interface with an IPv6 address is unreachable from the public internet. If the value
is true
, inbound traffic from the internet is dropped and you cannot assign an elastic IP address to
the network interface. The network interface is reachable from peered VPCs and resources connected through a
transit gateway, including on-premises networks.
true
, inbound traffic from the internet is dropped and you cannot assign an
elastic IP address to the network interface. The network interface is reachable from peered VPCs and
resources connected through a transit gateway, including on-premises networks.public void setIpv6Native(Boolean ipv6Native)
Indicates whether this is an IPv6 only network interface.
ipv6Native
- Indicates whether this is an IPv6 only network interface.public Boolean getIpv6Native()
Indicates whether this is an IPv6 only network interface.
public NetworkInterface withIpv6Native(Boolean ipv6Native)
Indicates whether this is an IPv6 only network interface.
ipv6Native
- Indicates whether this is an IPv6 only network interface.public Boolean isIpv6Native()
Indicates whether this is an IPv6 only network interface.
public void setIpv6Address(String ipv6Address)
The IPv6 globally unique address associated with the network interface.
ipv6Address
- The IPv6 globally unique address associated with the network interface.public String getIpv6Address()
The IPv6 globally unique address associated with the network interface.
public NetworkInterface withIpv6Address(String ipv6Address)
The IPv6 globally unique address associated with the network interface.
ipv6Address
- The IPv6 globally unique address associated with the network interface.public String toString()
toString
in class Object
Object.toString()
public NetworkInterface clone()