public static final class CfnNetworkInterfaceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnNetworkInterfaceProps
CfnNetworkInterfaceProps
CfnNetworkInterfaceProps.Builder, CfnNetworkInterfaceProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getDescription()
A description for the network interface.
|
java.util.List<java.lang.String> |
getGroupSet()
The security group IDs associated with this network interface.
|
java.lang.String |
getInterfaceType()
The type of network interface.
|
java.lang.Number |
getIpv6AddressCount()
The number of IPv6 addresses to assign to a network interface.
|
java.lang.Object |
getIpv6Addresses()
One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet to associate with the network interface.
|
java.lang.String |
getPrivateIpAddress()
Assigns a single private IP address to the network interface, which is used as the primary private IP address.
|
java.lang.Object |
getPrivateIpAddresses()
Assigns private IP addresses to the network interface.
|
java.lang.Number |
getSecondaryPrivateIpAddressCount()
The number of secondary private IPv4 addresses to assign to a network interface.
|
java.lang.Object |
getSourceDestCheck()
Enable or disable source/destination checks, which ensure that the instance is either the source or the destination of any traffic that it receives.
|
java.lang.String |
getSubnetId()
The ID of the subnet to associate with the network interface.
|
java.util.List<CfnTag> |
getTags()
An arbitrary set of tags (key-value pairs) for this network interface.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getSubnetId()
CfnNetworkInterfaceProps
getSubnetId
in interface CfnNetworkInterfaceProps
public final java.lang.String getDescription()
CfnNetworkInterfaceProps
getDescription
in interface CfnNetworkInterfaceProps
public final java.util.List<java.lang.String> getGroupSet()
CfnNetworkInterfaceProps
getGroupSet
in interface CfnNetworkInterfaceProps
public final java.lang.String getInterfaceType()
CfnNetworkInterfaceProps
The default is interface
. The supported values are efa
and trunk
.
getInterfaceType
in interface CfnNetworkInterfaceProps
public final java.lang.Number getIpv6AddressCount()
CfnNetworkInterfaceProps
Amazon EC2 automatically selects the IPv6 addresses from the subnet range. To specify specific IPv6 addresses, use the Ipv6Addresses
property and don't specify this property.
getIpv6AddressCount
in interface CfnNetworkInterfaceProps
public final java.lang.Object getIpv6Addresses()
CfnNetworkInterfaceProps
If you're specifying a number of IPv6 addresses, use the Ipv6AddressCount
property and don't specify this property.
getIpv6Addresses
in interface CfnNetworkInterfaceProps
public final java.lang.String getPrivateIpAddress()
CfnNetworkInterfaceProps
If you want to specify multiple private IP address, use the PrivateIpAddresses
property.
getPrivateIpAddress
in interface CfnNetworkInterfaceProps
public final java.lang.Object getPrivateIpAddresses()
CfnNetworkInterfaceProps
You can specify a primary private IP address by setting the value of the Primary
property to true
in the PrivateIpAddressSpecification
property. If you want EC2 to automatically assign private IP addresses, use the SecondaryPrivateIpAddressCount
property and do not specify this property.
getPrivateIpAddresses
in interface CfnNetworkInterfaceProps
public final java.lang.Number getSecondaryPrivateIpAddressCount()
CfnNetworkInterfaceProps
When you specify a number of secondary IPv4 addresses, Amazon EC2 selects these IP addresses within the subnet's IPv4 CIDR range. You can't specify this option and specify more than one private IP address using privateIpAddresses
.
The number of IP addresses you can assign to a network interface varies by instance type. For more information, see IP Addresses Per ENI Per Instance Type in the Amazon Virtual Private Cloud User Guide .
getSecondaryPrivateIpAddressCount
in interface CfnNetworkInterfaceProps
public final java.lang.Object getSourceDestCheck()
CfnNetworkInterfaceProps
If the value is true
, source/destination checks are enabled; otherwise, they are disabled. The default value is true
. You must disable source/destination checks if the instance runs services such as network address translation, routing, or firewalls.
getSourceDestCheck
in interface CfnNetworkInterfaceProps
public final java.util.List<CfnTag> getTags()
CfnNetworkInterfaceProps
getTags
in interface CfnNetworkInterfaceProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()