@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LaunchTemplateInstanceNetworkInterfaceSpecification extends Object implements Serializable, Cloneable
Describes a network interface.
Constructor and Description |
---|
LaunchTemplateInstanceNetworkInterfaceSpecification() |
Modifier and Type | Method and Description |
---|---|
LaunchTemplateInstanceNetworkInterfaceSpecification |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAssociateCarrierIpAddress()
Indicates whether to associate a Carrier IP address with eth0 for a new network interface.
|
Boolean |
getAssociatePublicIpAddress()
Indicates whether to associate a public IPv4 address with eth0 for a new network interface.
|
ConnectionTrackingSpecification |
getConnectionTrackingSpecification()
A security group connection tracking specification that enables you to set the timeout for connection tracking on
an Elastic network interface.
|
Boolean |
getDeleteOnTermination()
Indicates whether the network interface is deleted when the instance is terminated.
|
String |
getDescription()
A description for the network interface.
|
Integer |
getDeviceIndex()
The device index for the network interface attachment.
|
LaunchTemplateEnaSrdSpecification |
getEnaSrdSpecification()
Contains the ENA Express settings for instances launched from your launch template.
|
List<String> |
getGroups()
The IDs of one or more security groups.
|
String |
getInterfaceType()
The type of network interface.
|
Integer |
getIpv4PrefixCount()
The number of IPv4 prefixes that Amazon Web Services automatically assigned to the network interface.
|
List<Ipv4PrefixSpecificationResponse> |
getIpv4Prefixes()
One or more IPv4 prefixes assigned to the network interface.
|
Integer |
getIpv6AddressCount()
The number of IPv6 addresses for the network interface.
|
List<InstanceIpv6Address> |
getIpv6Addresses()
The IPv6 addresses for the network interface.
|
Integer |
getIpv6PrefixCount()
The number of IPv6 prefixes that Amazon Web Services automatically assigned to the network interface.
|
List<Ipv6PrefixSpecificationResponse> |
getIpv6Prefixes()
One or more IPv6 prefixes assigned to the network interface.
|
Integer |
getNetworkCardIndex()
The index of the network card.
|
String |
getNetworkInterfaceId()
The ID of the network interface.
|
Boolean |
getPrimaryIpv6()
The primary IPv6 address of the network interface.
|
String |
getPrivateIpAddress()
The primary private IPv4 address of the network interface.
|
List<PrivateIpAddressSpecification> |
getPrivateIpAddresses()
One or more private IPv4 addresses.
|
Integer |
getSecondaryPrivateIpAddressCount()
The number of secondary private IPv4 addresses for the network interface.
|
String |
getSubnetId()
The ID of the subnet for the network interface.
|
int |
hashCode() |
Boolean |
isAssociateCarrierIpAddress()
Indicates whether to associate a Carrier IP address with eth0 for a new network interface.
|
Boolean |
isAssociatePublicIpAddress()
Indicates whether to associate a public IPv4 address with eth0 for a new network interface.
|
Boolean |
isDeleteOnTermination()
Indicates whether the network interface is deleted when the instance is terminated.
|
Boolean |
isPrimaryIpv6()
The primary IPv6 address of the network interface.
|
void |
setAssociateCarrierIpAddress(Boolean associateCarrierIpAddress)
Indicates whether to associate a Carrier IP address with eth0 for a new network interface.
|
void |
setAssociatePublicIpAddress(Boolean associatePublicIpAddress)
Indicates whether to associate a public IPv4 address with eth0 for a new network interface.
|
void |
setConnectionTrackingSpecification(ConnectionTrackingSpecification connectionTrackingSpecification)
A security group connection tracking specification that enables you to set the timeout for connection tracking on
an Elastic network interface.
|
void |
setDeleteOnTermination(Boolean deleteOnTermination)
Indicates whether the network interface is deleted when the instance is terminated.
|
void |
setDescription(String description)
A description for the network interface.
|
void |
setDeviceIndex(Integer deviceIndex)
The device index for the network interface attachment.
|
void |
setEnaSrdSpecification(LaunchTemplateEnaSrdSpecification enaSrdSpecification)
Contains the ENA Express settings for instances launched from your launch template.
|
void |
setGroups(Collection<String> groups)
The IDs of one or more security groups.
|
void |
setInterfaceType(String interfaceType)
The type of network interface.
|
void |
setIpv4PrefixCount(Integer ipv4PrefixCount)
The number of IPv4 prefixes that Amazon Web Services automatically assigned to the network interface.
|
void |
setIpv4Prefixes(Collection<Ipv4PrefixSpecificationResponse> ipv4Prefixes)
One or more IPv4 prefixes assigned to the network interface.
|
void |
setIpv6AddressCount(Integer ipv6AddressCount)
The number of IPv6 addresses for the network interface.
|
void |
setIpv6Addresses(Collection<InstanceIpv6Address> ipv6Addresses)
The IPv6 addresses for the network interface.
|
void |
setIpv6PrefixCount(Integer ipv6PrefixCount)
The number of IPv6 prefixes that Amazon Web Services automatically assigned to the network interface.
|
void |
setIpv6Prefixes(Collection<Ipv6PrefixSpecificationResponse> ipv6Prefixes)
One or more IPv6 prefixes assigned to the network interface.
|
void |
setNetworkCardIndex(Integer networkCardIndex)
The index of the network card.
|
void |
setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
void |
setPrimaryIpv6(Boolean primaryIpv6)
The primary IPv6 address of the network interface.
|
void |
setPrivateIpAddress(String privateIpAddress)
The primary private IPv4 address of the network interface.
|
void |
setPrivateIpAddresses(Collection<PrivateIpAddressSpecification> privateIpAddresses)
One or more private IPv4 addresses.
|
void |
setSecondaryPrivateIpAddressCount(Integer secondaryPrivateIpAddressCount)
The number of secondary private IPv4 addresses for the network interface.
|
void |
setSubnetId(String subnetId)
The ID of the subnet for the network interface.
|
String |
toString()
Returns a string representation of this object.
|
LaunchTemplateInstanceNetworkInterfaceSpecification |
withAssociateCarrierIpAddress(Boolean associateCarrierIpAddress)
Indicates whether to associate a Carrier IP address with eth0 for a new network interface.
|
LaunchTemplateInstanceNetworkInterfaceSpecification |
withAssociatePublicIpAddress(Boolean associatePublicIpAddress)
Indicates whether to associate a public IPv4 address with eth0 for a new network interface.
|
LaunchTemplateInstanceNetworkInterfaceSpecification |
withConnectionTrackingSpecification(ConnectionTrackingSpecification connectionTrackingSpecification)
A security group connection tracking specification that enables you to set the timeout for connection tracking on
an Elastic network interface.
|
LaunchTemplateInstanceNetworkInterfaceSpecification |
withDeleteOnTermination(Boolean deleteOnTermination)
Indicates whether the network interface is deleted when the instance is terminated.
|
LaunchTemplateInstanceNetworkInterfaceSpecification |
withDescription(String description)
A description for the network interface.
|
LaunchTemplateInstanceNetworkInterfaceSpecification |
withDeviceIndex(Integer deviceIndex)
The device index for the network interface attachment.
|
LaunchTemplateInstanceNetworkInterfaceSpecification |
withEnaSrdSpecification(LaunchTemplateEnaSrdSpecification enaSrdSpecification)
Contains the ENA Express settings for instances launched from your launch template.
|
LaunchTemplateInstanceNetworkInterfaceSpecification |
withGroups(Collection<String> groups)
The IDs of one or more security groups.
|
LaunchTemplateInstanceNetworkInterfaceSpecification |
withGroups(String... groups)
The IDs of one or more security groups.
|
LaunchTemplateInstanceNetworkInterfaceSpecification |
withInterfaceType(String interfaceType)
The type of network interface.
|
LaunchTemplateInstanceNetworkInterfaceSpecification |
withIpv4PrefixCount(Integer ipv4PrefixCount)
The number of IPv4 prefixes that Amazon Web Services automatically assigned to the network interface.
|
LaunchTemplateInstanceNetworkInterfaceSpecification |
withIpv4Prefixes(Collection<Ipv4PrefixSpecificationResponse> ipv4Prefixes)
One or more IPv4 prefixes assigned to the network interface.
|
LaunchTemplateInstanceNetworkInterfaceSpecification |
withIpv4Prefixes(Ipv4PrefixSpecificationResponse... ipv4Prefixes)
One or more IPv4 prefixes assigned to the network interface.
|
LaunchTemplateInstanceNetworkInterfaceSpecification |
withIpv6AddressCount(Integer ipv6AddressCount)
The number of IPv6 addresses for the network interface.
|
LaunchTemplateInstanceNetworkInterfaceSpecification |
withIpv6Addresses(Collection<InstanceIpv6Address> ipv6Addresses)
The IPv6 addresses for the network interface.
|
LaunchTemplateInstanceNetworkInterfaceSpecification |
withIpv6Addresses(InstanceIpv6Address... ipv6Addresses)
The IPv6 addresses for the network interface.
|
LaunchTemplateInstanceNetworkInterfaceSpecification |
withIpv6PrefixCount(Integer ipv6PrefixCount)
The number of IPv6 prefixes that Amazon Web Services automatically assigned to the network interface.
|
LaunchTemplateInstanceNetworkInterfaceSpecification |
withIpv6Prefixes(Collection<Ipv6PrefixSpecificationResponse> ipv6Prefixes)
One or more IPv6 prefixes assigned to the network interface.
|
LaunchTemplateInstanceNetworkInterfaceSpecification |
withIpv6Prefixes(Ipv6PrefixSpecificationResponse... ipv6Prefixes)
One or more IPv6 prefixes assigned to the network interface.
|
LaunchTemplateInstanceNetworkInterfaceSpecification |
withNetworkCardIndex(Integer networkCardIndex)
The index of the network card.
|
LaunchTemplateInstanceNetworkInterfaceSpecification |
withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
LaunchTemplateInstanceNetworkInterfaceSpecification |
withPrimaryIpv6(Boolean primaryIpv6)
The primary IPv6 address of the network interface.
|
LaunchTemplateInstanceNetworkInterfaceSpecification |
withPrivateIpAddress(String privateIpAddress)
The primary private IPv4 address of the network interface.
|
LaunchTemplateInstanceNetworkInterfaceSpecification |
withPrivateIpAddresses(Collection<PrivateIpAddressSpecification> privateIpAddresses)
One or more private IPv4 addresses.
|
LaunchTemplateInstanceNetworkInterfaceSpecification |
withPrivateIpAddresses(PrivateIpAddressSpecification... privateIpAddresses)
One or more private IPv4 addresses.
|
LaunchTemplateInstanceNetworkInterfaceSpecification |
withSecondaryPrivateIpAddressCount(Integer secondaryPrivateIpAddressCount)
The number of secondary private IPv4 addresses for the network interface.
|
LaunchTemplateInstanceNetworkInterfaceSpecification |
withSubnetId(String subnetId)
The ID of the subnet for the network interface.
|
public LaunchTemplateInstanceNetworkInterfaceSpecification()
public void setAssociateCarrierIpAddress(Boolean associateCarrierIpAddress)
Indicates whether to associate a Carrier IP address with eth0 for a new network interface.
Use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. For more information about Carrier IP addresses, see Carrier IP addresses in the Wavelength Developer Guide.
associateCarrierIpAddress
- Indicates whether to associate a Carrier IP address with eth0 for a new network interface.
Use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. For more information about Carrier IP addresses, see Carrier IP addresses in the Wavelength Developer Guide.
public Boolean getAssociateCarrierIpAddress()
Indicates whether to associate a Carrier IP address with eth0 for a new network interface.
Use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. For more information about Carrier IP addresses, see Carrier IP addresses in the Wavelength Developer Guide.
Use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. For more information about Carrier IP addresses, see Carrier IP addresses in the Wavelength Developer Guide.
public LaunchTemplateInstanceNetworkInterfaceSpecification withAssociateCarrierIpAddress(Boolean associateCarrierIpAddress)
Indicates whether to associate a Carrier IP address with eth0 for a new network interface.
Use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. For more information about Carrier IP addresses, see Carrier IP addresses in the Wavelength Developer Guide.
associateCarrierIpAddress
- Indicates whether to associate a Carrier IP address with eth0 for a new network interface.
Use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. For more information about Carrier IP addresses, see Carrier IP addresses in the Wavelength Developer Guide.
public Boolean isAssociateCarrierIpAddress()
Indicates whether to associate a Carrier IP address with eth0 for a new network interface.
Use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. For more information about Carrier IP addresses, see Carrier IP addresses in the Wavelength Developer Guide.
Use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. For more information about Carrier IP addresses, see Carrier IP addresses in the Wavelength Developer Guide.
public void setAssociatePublicIpAddress(Boolean associatePublicIpAddress)
Indicates whether to associate a public IPv4 address with eth0 for a new network interface.
Amazon Web Services charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page.
associatePublicIpAddress
- Indicates whether to associate a public IPv4 address with eth0 for a new network interface.
Amazon Web Services charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page.
public Boolean getAssociatePublicIpAddress()
Indicates whether to associate a public IPv4 address with eth0 for a new network interface.
Amazon Web Services charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page.
Amazon Web Services charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page.
public LaunchTemplateInstanceNetworkInterfaceSpecification withAssociatePublicIpAddress(Boolean associatePublicIpAddress)
Indicates whether to associate a public IPv4 address with eth0 for a new network interface.
Amazon Web Services charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page.
associatePublicIpAddress
- Indicates whether to associate a public IPv4 address with eth0 for a new network interface.
Amazon Web Services charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page.
public Boolean isAssociatePublicIpAddress()
Indicates whether to associate a public IPv4 address with eth0 for a new network interface.
Amazon Web Services charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page.
Amazon Web Services charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the Amazon VPC pricing page.
public void setDeleteOnTermination(Boolean deleteOnTermination)
Indicates whether the network interface is deleted when the instance is terminated.
deleteOnTermination
- Indicates whether the network interface is deleted when the instance is terminated.public Boolean getDeleteOnTermination()
Indicates whether the network interface is deleted when the instance is terminated.
public LaunchTemplateInstanceNetworkInterfaceSpecification withDeleteOnTermination(Boolean deleteOnTermination)
Indicates whether the network interface is deleted when the instance is terminated.
deleteOnTermination
- Indicates whether the network interface is deleted when the instance is terminated.public Boolean isDeleteOnTermination()
Indicates whether the network interface is deleted when the instance is terminated.
public void setDescription(String description)
A description for the network interface.
description
- A description for the network interface.public String getDescription()
A description for the network interface.
public LaunchTemplateInstanceNetworkInterfaceSpecification withDescription(String description)
A description for the network interface.
description
- A description for the network interface.public void setDeviceIndex(Integer deviceIndex)
The device index for the network interface attachment.
deviceIndex
- The device index for the network interface attachment.public Integer getDeviceIndex()
The device index for the network interface attachment.
public LaunchTemplateInstanceNetworkInterfaceSpecification withDeviceIndex(Integer deviceIndex)
The device index for the network interface attachment.
deviceIndex
- The device index for the network interface attachment.public List<String> getGroups()
The IDs of one or more security groups.
public void setGroups(Collection<String> groups)
The IDs of one or more security groups.
groups
- The IDs of one or more security groups.public LaunchTemplateInstanceNetworkInterfaceSpecification withGroups(String... groups)
The IDs of one or more security groups.
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
- The IDs of one or more security groups.public LaunchTemplateInstanceNetworkInterfaceSpecification withGroups(Collection<String> groups)
The IDs of one or more security groups.
groups
- The IDs of one or more security groups.public void setInterfaceType(String interfaceType)
The type of network interface.
interfaceType
- The type of network interface.public String getInterfaceType()
The type of network interface.
public LaunchTemplateInstanceNetworkInterfaceSpecification withInterfaceType(String interfaceType)
The type of network interface.
interfaceType
- The type of network interface.public void setIpv6AddressCount(Integer ipv6AddressCount)
The number of IPv6 addresses for the network interface.
ipv6AddressCount
- The number of IPv6 addresses for the network interface.public Integer getIpv6AddressCount()
The number of IPv6 addresses for the network interface.
public LaunchTemplateInstanceNetworkInterfaceSpecification withIpv6AddressCount(Integer ipv6AddressCount)
The number of IPv6 addresses for the network interface.
ipv6AddressCount
- The number of IPv6 addresses for the network interface.public List<InstanceIpv6Address> getIpv6Addresses()
The IPv6 addresses for the network interface.
public void setIpv6Addresses(Collection<InstanceIpv6Address> ipv6Addresses)
The IPv6 addresses for the network interface.
ipv6Addresses
- The IPv6 addresses for the network interface.public LaunchTemplateInstanceNetworkInterfaceSpecification withIpv6Addresses(InstanceIpv6Address... ipv6Addresses)
The IPv6 addresses for 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 for the network interface.public LaunchTemplateInstanceNetworkInterfaceSpecification withIpv6Addresses(Collection<InstanceIpv6Address> ipv6Addresses)
The IPv6 addresses for the network interface.
ipv6Addresses
- The IPv6 addresses for the network interface.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 LaunchTemplateInstanceNetworkInterfaceSpecification withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.public void setPrivateIpAddress(String privateIpAddress)
The primary private IPv4 address of the network interface.
privateIpAddress
- The primary private IPv4 address of the network interface.public String getPrivateIpAddress()
The primary private IPv4 address of the network interface.
public LaunchTemplateInstanceNetworkInterfaceSpecification withPrivateIpAddress(String privateIpAddress)
The primary private IPv4 address of the network interface.
privateIpAddress
- The primary private IPv4 address of the network interface.public List<PrivateIpAddressSpecification> getPrivateIpAddresses()
One or more private IPv4 addresses.
public void setPrivateIpAddresses(Collection<PrivateIpAddressSpecification> privateIpAddresses)
One or more private IPv4 addresses.
privateIpAddresses
- One or more private IPv4 addresses.public LaunchTemplateInstanceNetworkInterfaceSpecification withPrivateIpAddresses(PrivateIpAddressSpecification... privateIpAddresses)
One or more private IPv4 addresses.
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
- One or more private IPv4 addresses.public LaunchTemplateInstanceNetworkInterfaceSpecification withPrivateIpAddresses(Collection<PrivateIpAddressSpecification> privateIpAddresses)
One or more private IPv4 addresses.
privateIpAddresses
- One or more private IPv4 addresses.public void setSecondaryPrivateIpAddressCount(Integer secondaryPrivateIpAddressCount)
The number of secondary private IPv4 addresses for the network interface.
secondaryPrivateIpAddressCount
- The number of secondary private IPv4 addresses for the network interface.public Integer getSecondaryPrivateIpAddressCount()
The number of secondary private IPv4 addresses for the network interface.
public LaunchTemplateInstanceNetworkInterfaceSpecification withSecondaryPrivateIpAddressCount(Integer secondaryPrivateIpAddressCount)
The number of secondary private IPv4 addresses for the network interface.
secondaryPrivateIpAddressCount
- The number of secondary private IPv4 addresses for the network interface.public void setSubnetId(String subnetId)
The ID of the subnet for the network interface.
subnetId
- The ID of the subnet for the network interface.public String getSubnetId()
The ID of the subnet for the network interface.
public LaunchTemplateInstanceNetworkInterfaceSpecification withSubnetId(String subnetId)
The ID of the subnet for the network interface.
subnetId
- The ID of the subnet for the network interface.public void setNetworkCardIndex(Integer networkCardIndex)
The index of the network card.
networkCardIndex
- The index of the network card.public Integer getNetworkCardIndex()
The index of the network card.
public LaunchTemplateInstanceNetworkInterfaceSpecification withNetworkCardIndex(Integer networkCardIndex)
The index of the network card.
networkCardIndex
- The index of the network card.public List<Ipv4PrefixSpecificationResponse> getIpv4Prefixes()
One or more IPv4 prefixes assigned to the network interface.
public void setIpv4Prefixes(Collection<Ipv4PrefixSpecificationResponse> ipv4Prefixes)
One or more IPv4 prefixes assigned to the network interface.
ipv4Prefixes
- One or more IPv4 prefixes assigned to the network interface.public LaunchTemplateInstanceNetworkInterfaceSpecification withIpv4Prefixes(Ipv4PrefixSpecificationResponse... ipv4Prefixes)
One or more IPv4 prefixes 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
- One or more IPv4 prefixes assigned to the network interface.public LaunchTemplateInstanceNetworkInterfaceSpecification withIpv4Prefixes(Collection<Ipv4PrefixSpecificationResponse> ipv4Prefixes)
One or more IPv4 prefixes assigned to the network interface.
ipv4Prefixes
- One or more IPv4 prefixes assigned to the network interface.public void setIpv4PrefixCount(Integer ipv4PrefixCount)
The number of IPv4 prefixes that Amazon Web Services automatically assigned to the network interface.
ipv4PrefixCount
- The number of IPv4 prefixes that Amazon Web Services automatically assigned to the network interface.public Integer getIpv4PrefixCount()
The number of IPv4 prefixes that Amazon Web Services automatically assigned to the network interface.
public LaunchTemplateInstanceNetworkInterfaceSpecification withIpv4PrefixCount(Integer ipv4PrefixCount)
The number of IPv4 prefixes that Amazon Web Services automatically assigned to the network interface.
ipv4PrefixCount
- The number of IPv4 prefixes that Amazon Web Services automatically assigned to the network interface.public List<Ipv6PrefixSpecificationResponse> getIpv6Prefixes()
One or more IPv6 prefixes assigned to the network interface.
public void setIpv6Prefixes(Collection<Ipv6PrefixSpecificationResponse> ipv6Prefixes)
One or more IPv6 prefixes assigned to the network interface.
ipv6Prefixes
- One or more IPv6 prefixes assigned to the network interface.public LaunchTemplateInstanceNetworkInterfaceSpecification withIpv6Prefixes(Ipv6PrefixSpecificationResponse... ipv6Prefixes)
One or more IPv6 prefixes 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
- One or more IPv6 prefixes assigned to the network interface.public LaunchTemplateInstanceNetworkInterfaceSpecification withIpv6Prefixes(Collection<Ipv6PrefixSpecificationResponse> ipv6Prefixes)
One or more IPv6 prefixes assigned to the network interface.
ipv6Prefixes
- One or more IPv6 prefixes assigned to the network interface.public void setIpv6PrefixCount(Integer ipv6PrefixCount)
The number of IPv6 prefixes that Amazon Web Services automatically assigned to the network interface.
ipv6PrefixCount
- The number of IPv6 prefixes that Amazon Web Services automatically assigned to the network interface.public Integer getIpv6PrefixCount()
The number of IPv6 prefixes that Amazon Web Services automatically assigned to the network interface.
public LaunchTemplateInstanceNetworkInterfaceSpecification withIpv6PrefixCount(Integer ipv6PrefixCount)
The number of IPv6 prefixes that Amazon Web Services automatically assigned to the network interface.
ipv6PrefixCount
- The number of IPv6 prefixes that Amazon Web Services automatically assigned to the network interface.public void setPrimaryIpv6(Boolean primaryIpv6)
The primary IPv6 address of the network interface. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information about primary IPv6 addresses, see RunInstances.
primaryIpv6
- The primary IPv6 address of the network interface. When you enable an IPv6 GUA address to be a primary
IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the
network interface is detached. For more information about primary IPv6 addresses, see RunInstances.public Boolean getPrimaryIpv6()
The primary IPv6 address of the network interface. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information about primary IPv6 addresses, see RunInstances.
public LaunchTemplateInstanceNetworkInterfaceSpecification withPrimaryIpv6(Boolean primaryIpv6)
The primary IPv6 address of the network interface. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information about primary IPv6 addresses, see RunInstances.
primaryIpv6
- The primary IPv6 address of the network interface. When you enable an IPv6 GUA address to be a primary
IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the
network interface is detached. For more information about primary IPv6 addresses, see RunInstances.public Boolean isPrimaryIpv6()
The primary IPv6 address of the network interface. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information about primary IPv6 addresses, see RunInstances.
public void setEnaSrdSpecification(LaunchTemplateEnaSrdSpecification enaSrdSpecification)
Contains the ENA Express settings for instances launched from your launch template.
enaSrdSpecification
- Contains the ENA Express settings for instances launched from your launch template.public LaunchTemplateEnaSrdSpecification getEnaSrdSpecification()
Contains the ENA Express settings for instances launched from your launch template.
public LaunchTemplateInstanceNetworkInterfaceSpecification withEnaSrdSpecification(LaunchTemplateEnaSrdSpecification enaSrdSpecification)
Contains the ENA Express settings for instances launched from your launch template.
enaSrdSpecification
- Contains the ENA Express settings for instances launched from your launch template.public void setConnectionTrackingSpecification(ConnectionTrackingSpecification connectionTrackingSpecification)
A security group connection tracking specification that enables you to set the timeout for connection tracking on an Elastic network interface. For more information, see Idle connection tracking timeout in the Amazon EC2 User Guide.
connectionTrackingSpecification
- A security group connection tracking specification that enables you to set the timeout for connection
tracking on an Elastic network interface. For more information, see Idle connection tracking timeout in the Amazon EC2 User Guide.public ConnectionTrackingSpecification getConnectionTrackingSpecification()
A security group connection tracking specification that enables you to set the timeout for connection tracking on an Elastic network interface. For more information, see Idle connection tracking timeout in the Amazon EC2 User Guide.
public LaunchTemplateInstanceNetworkInterfaceSpecification withConnectionTrackingSpecification(ConnectionTrackingSpecification connectionTrackingSpecification)
A security group connection tracking specification that enables you to set the timeout for connection tracking on an Elastic network interface. For more information, see Idle connection tracking timeout in the Amazon EC2 User Guide.
connectionTrackingSpecification
- A security group connection tracking specification that enables you to set the timeout for connection
tracking on an Elastic network interface. For more information, see Idle connection tracking timeout in the Amazon EC2 User Guide.public String toString()
toString
in class Object
Object.toString()
public LaunchTemplateInstanceNetworkInterfaceSpecification clone()