public static interface LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder extends SdkPojo, CopyableBuilder<LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder,LaunchTemplateInstanceNetworkInterfaceSpecificationRequest>
equalsBySdkFields, sdkFields
copy
applyMutation, build
LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder associateCarrierIpAddress(Boolean associateCarrierIpAddress)
Associates 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
- Associates 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.
LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder associatePublicIpAddress(Boolean associatePublicIpAddress)
Associates a public IPv4 address with eth0 for a new network interface.
associatePublicIpAddress
- Associates a public IPv4 address with eth0 for a new network interface.LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder deleteOnTermination(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.LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder description(String description)
A description for the network interface.
description
- A description for the network interface.LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder deviceIndex(Integer deviceIndex)
The device index for the network interface attachment.
deviceIndex
- The device index for the network interface attachment.LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder groups(Collection<String> groups)
The IDs of one or more security groups.
groups
- The IDs of one or more security groups.LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder groups(String... groups)
The IDs of one or more security groups.
groups
- The IDs of one or more security groups.LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder interfaceType(String interfaceType)
The type of network interface. To create an Elastic Fabric Adapter (EFA), specify efa
. For more
information, see Elastic Fabric
Adapter in the Amazon Elastic Compute Cloud User Guide.
If you are not creating an EFA, specify interface
or omit this parameter.
Valid values: interface
| efa
interfaceType
- The type of network interface. To create an Elastic Fabric Adapter (EFA), specify efa
.
For more information, see Elastic Fabric Adapter in the
Amazon Elastic Compute Cloud User Guide.
If you are not creating an EFA, specify interface
or omit this parameter.
Valid values: interface
| efa
LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder ipv6AddressCount(Integer ipv6AddressCount)
The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses.
ipv6AddressCount
- The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the
IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses.LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder ipv6Addresses(Collection<InstanceIpv6AddressRequest> ipv6Addresses)
One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option if you're specifying a number of IPv6 addresses.
ipv6Addresses
- One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this
option if you're specifying a number of IPv6 addresses.LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder ipv6Addresses(InstanceIpv6AddressRequest... ipv6Addresses)
One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option if you're specifying a number of IPv6 addresses.
ipv6Addresses
- One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this
option if you're specifying a number of IPv6 addresses.LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder ipv6Addresses(Consumer<InstanceIpv6AddressRequest.Builder>... ipv6Addresses)
One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option if you're specifying a number of IPv6 addresses.
This is a convenience method that creates an instance of theInstanceIpv6AddressRequest.Builder
avoiding the need to
create one manually via
InstanceIpv6AddressRequest.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called
immediately and its result is passed to #ipv6Addresses(List
.
ipv6Addresses
- a consumer that will call methods on
InstanceIpv6AddressRequest.Builder
#ipv6Addresses(java.util.Collection)
LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder networkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder privateIpAddress(String privateIpAddress)
The primary private IPv4 address of the network interface.
privateIpAddress
- The primary private IPv4 address of the network interface.LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder privateIpAddresses(Collection<PrivateIpAddressSpecification> privateIpAddresses)
One or more private IPv4 addresses.
privateIpAddresses
- One or more private IPv4 addresses.LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder privateIpAddresses(PrivateIpAddressSpecification... privateIpAddresses)
One or more private IPv4 addresses.
privateIpAddresses
- One or more private IPv4 addresses.LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder privateIpAddresses(Consumer<PrivateIpAddressSpecification.Builder>... privateIpAddresses)
One or more private IPv4 addresses.
This is a convenience method that creates an instance of thePrivateIpAddressSpecification.Builder
avoiding the need to
create one manually via
PrivateIpAddressSpecification.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called
immediately and its result is passed to #privateIpAddresses(List
.
privateIpAddresses
- a consumer that will call methods on
PrivateIpAddressSpecification.Builder
#privateIpAddresses(java.util.Collection)
LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder secondaryPrivateIpAddressCount(Integer secondaryPrivateIpAddressCount)
The number of secondary private IPv4 addresses to assign to a network interface.
secondaryPrivateIpAddressCount
- The number of secondary private IPv4 addresses to assign to a network interface.LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder subnetId(String subnetId)
The ID of the subnet for the network interface.
subnetId
- The ID of the subnet for the network interface.LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder networkCardIndex(Integer networkCardIndex)
The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.
networkCardIndex
- The index of the network card. Some instance types support multiple network cards. The primary network
interface must be assigned to network card index 0. The default is network card index 0.LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder ipv4Prefixes(Collection<Ipv4PrefixSpecificationRequest> ipv4Prefixes)
One or more IPv4 prefixes to be assigned to the network interface. You cannot use this option if you use the
Ipv4PrefixCount
option.
ipv4Prefixes
- One or more IPv4 prefixes to be assigned to the network interface. You cannot use this option if you
use the Ipv4PrefixCount
option.LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder ipv4Prefixes(Ipv4PrefixSpecificationRequest... ipv4Prefixes)
One or more IPv4 prefixes to be assigned to the network interface. You cannot use this option if you use the
Ipv4PrefixCount
option.
ipv4Prefixes
- One or more IPv4 prefixes to be assigned to the network interface. You cannot use this option if you
use the Ipv4PrefixCount
option.LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder ipv4Prefixes(Consumer<Ipv4PrefixSpecificationRequest.Builder>... ipv4Prefixes)
One or more IPv4 prefixes to be assigned to the network interface. You cannot use this option if you use the
Ipv4PrefixCount
option.
Ipv4PrefixSpecificationRequest.Builder
avoiding the need to
create one manually via
Ipv4PrefixSpecificationRequest.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called
immediately and its result is passed to #ipv4Prefixes(List
.
ipv4Prefixes
- a consumer that will call methods on
Ipv4PrefixSpecificationRequest.Builder
#ipv4Prefixes(java.util.Collection)
LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder ipv4PrefixCount(Integer ipv4PrefixCount)
The number of IPv4 prefixes to be automatically assigned to the network interface. You cannot use this option
if you use the Ipv4Prefix
option.
ipv4PrefixCount
- The number of IPv4 prefixes to be automatically assigned to the network interface. You cannot use this
option if you use the Ipv4Prefix
option.LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder ipv6Prefixes(Collection<Ipv6PrefixSpecificationRequest> ipv6Prefixes)
One or more IPv6 prefixes to be assigned to the network interface. You cannot use this option if you use the
Ipv6PrefixCount
option.
ipv6Prefixes
- One or more IPv6 prefixes to be assigned to the network interface. You cannot use this option if you
use the Ipv6PrefixCount
option.LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder ipv6Prefixes(Ipv6PrefixSpecificationRequest... ipv6Prefixes)
One or more IPv6 prefixes to be assigned to the network interface. You cannot use this option if you use the
Ipv6PrefixCount
option.
ipv6Prefixes
- One or more IPv6 prefixes to be assigned to the network interface. You cannot use this option if you
use the Ipv6PrefixCount
option.LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder ipv6Prefixes(Consumer<Ipv6PrefixSpecificationRequest.Builder>... ipv6Prefixes)
One or more IPv6 prefixes to be assigned to the network interface. You cannot use this option if you use the
Ipv6PrefixCount
option.
Ipv6PrefixSpecificationRequest.Builder
avoiding the need to
create one manually via
Ipv6PrefixSpecificationRequest.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called
immediately and its result is passed to #ipv6Prefixes(List
.
ipv6Prefixes
- a consumer that will call methods on
Ipv6PrefixSpecificationRequest.Builder
#ipv6Prefixes(java.util.Collection)
LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder ipv6PrefixCount(Integer ipv6PrefixCount)
The number of IPv6 prefixes to be automatically assigned to the network interface. You cannot use this option
if you use the Ipv6Prefix
option.
ipv6PrefixCount
- The number of IPv6 prefixes to be automatically assigned to the network interface. You cannot use this
option if you use the Ipv6Prefix
option.LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder primaryIpv6(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.Copyright © 2023. All rights reserved.