public static final class CfnInstance.NetworkInterfaceProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnInstance.NetworkInterfaceProperty
CfnInstance.NetworkInterfaceProperty
CfnInstance.NetworkInterfaceProperty.Builder, CfnInstance.NetworkInterfaceProperty.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.Object |
getAssociatePublicIpAddress()
Indicates whether to assign a public IPv4 address to an instance.
|
java.lang.Object |
getDeleteOnTermination()
Indicates whether the network interface is deleted when the instance is terminated.
|
java.lang.String |
getDescription()
The description of the network interface.
|
java.lang.String |
getDeviceIndex()
The position of the network interface in the attachment order.
|
java.util.List<java.lang.String> |
getGroupSet()
The IDs of the security groups for the network interface.
|
java.lang.Number |
getIpv6AddressCount()
A number of IPv6 addresses to assign to the network interface.
|
java.lang.Object |
getIpv6Addresses()
One or more IPv6 addresses to assign to the network interface.
|
java.lang.String |
getNetworkInterfaceId()
The ID of the network interface, when attaching an existing network interface.
|
java.lang.String |
getPrivateIpAddress()
The private IPv4 address of the network interface.
|
java.lang.Object |
getPrivateIpAddresses()
One or more private IPv4 addresses to assign to the network interface.
|
java.lang.Number |
getSecondaryPrivateIpAddressCount()
The number of secondary private IPv4 addresses.
|
java.lang.String |
getSubnetId()
The ID of the subnet associated with the 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 getDeviceIndex()
CfnInstance.NetworkInterfaceProperty
A primary network interface has a device index of 0.
If you create a network interface when launching an instance, you must specify the device index.
getDeviceIndex
in interface CfnInstance.NetworkInterfaceProperty
public final java.lang.Object getAssociatePublicIpAddress()
CfnInstance.NetworkInterfaceProperty
Applies only if creating a network interface when launching an instance. The network interface must be the primary network interface. If launching into a default subnet, the default value is true
.
getAssociatePublicIpAddress
in interface CfnInstance.NetworkInterfaceProperty
public final java.lang.Object getDeleteOnTermination()
CfnInstance.NetworkInterfaceProperty
Applies only if creating a network interface when launching an instance.
getDeleteOnTermination
in interface CfnInstance.NetworkInterfaceProperty
public final java.lang.String getDescription()
CfnInstance.NetworkInterfaceProperty
Applies only if creating a network interface when launching an instance.
getDescription
in interface CfnInstance.NetworkInterfaceProperty
public final java.util.List<java.lang.String> getGroupSet()
CfnInstance.NetworkInterfaceProperty
Applies only if creating a network interface when launching an instance.
getGroupSet
in interface CfnInstance.NetworkInterfaceProperty
public final java.lang.Number getIpv6AddressCount()
CfnInstance.NetworkInterfaceProperty
Amazon EC2 chooses the IPv6 addresses from the range of the subnet. You cannot specify this option and the option to assign specific IPv6 addresses in the same request. You can specify this option if you've specified a minimum number of instances to launch.
getIpv6AddressCount
in interface CfnInstance.NetworkInterfaceProperty
public final java.lang.Object getIpv6Addresses()
CfnInstance.NetworkInterfaceProperty
You cannot specify this option and the option to assign a number of IPv6 addresses in the same request. You cannot specify this option if you've specified a minimum number of instances to launch.
getIpv6Addresses
in interface CfnInstance.NetworkInterfaceProperty
public final java.lang.String getNetworkInterfaceId()
CfnInstance.NetworkInterfaceProperty
getNetworkInterfaceId
in interface CfnInstance.NetworkInterfaceProperty
public final java.lang.String getPrivateIpAddress()
CfnInstance.NetworkInterfaceProperty
Applies only if creating a network interface when launching an instance.
getPrivateIpAddress
in interface CfnInstance.NetworkInterfaceProperty
public final java.lang.Object getPrivateIpAddresses()
CfnInstance.NetworkInterfaceProperty
Only one private IPv4 address can be designated as primary.
getPrivateIpAddresses
in interface CfnInstance.NetworkInterfaceProperty
public final java.lang.Number getSecondaryPrivateIpAddressCount()
CfnInstance.NetworkInterfaceProperty
You can't specify this option and specify more than one private IP address using the private IP addresses option.
getSecondaryPrivateIpAddressCount
in interface CfnInstance.NetworkInterfaceProperty
public final java.lang.String getSubnetId()
CfnInstance.NetworkInterfaceProperty
Applies only if creating a network interface when launching an instance.
getSubnetId
in interface CfnInstance.NetworkInterfaceProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()