public static final class CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty
CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty
CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty.Builder, CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty.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 you launch in a VPC.
|
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.Number |
getDeviceIndex()
The position of the network interface in the attachment order.
|
java.util.List<java.lang.String> |
getGroups()
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.
|
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.Object getAssociatePublicIpAddress()
CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty
The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is true
.
getAssociatePublicIpAddress
in interface CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty
public final java.lang.Object getDeleteOnTermination()
CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty
getDeleteOnTermination
in interface CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty
public final java.lang.String getDescription()
CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty
Applies only if creating a network interface when launching an instance.
getDescription
in interface CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty
public final java.lang.Number getDeviceIndex()
CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty
A primary network interface has a device index of 0.
If you specify a network interface when launching an instance, you must specify the device index.
getDeviceIndex
in interface CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty
public final java.util.List<java.lang.String> getGroups()
CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty
Applies only if creating a network interface when launching an instance.
getGroups
in interface CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty
public final java.lang.Number getIpv6AddressCount()
CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty
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 CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty
public final java.lang.Object getIpv6Addresses()
CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty
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 CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty
public final java.lang.String getNetworkInterfaceId()
CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty
If you are creating a Spot Fleet, omit this parameter because you can’t specify a network interface ID in a launch specification.
getNetworkInterfaceId
in interface CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty
public final java.lang.Object getPrivateIpAddresses()
CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty
Only one private IPv4 address can be designated as primary. You cannot specify this option if you're launching more than one instance in a RunInstances request.
getPrivateIpAddresses
in interface CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty
public final java.lang.Number getSecondaryPrivateIpAddressCount()
CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty
You can't specify this option and specify more than one private IP address using the private IP addresses option. You cannot specify this option if you're launching more than one instance in a RunInstances request.
getSecondaryPrivateIpAddressCount
in interface CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty
public final java.lang.String getSubnetId()
CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty
Applies only if creating a network interface when launching an instance.
getSubnetId
in interface CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()