public static interface AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails.Builder extends SdkPojo, CopyableBuilder<AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails.Builder,AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails>
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsEc2LaunchTemplateDataNetworkInterfaceSetDetails.Builder associateCarrierIpAddress(Boolean associateCarrierIpAddress)
Indicates whether to associate a Carrier IP address with eth0 for a new network interface. You 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, see Carrier IP address in the Wavelength Developer Guide.
associateCarrierIpAddress - Indicates whether to associate a Carrier IP address with eth0 for a new network interface. You 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, see Carrier IP address in the Wavelength Developer Guide.AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails.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.AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails.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.AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails.Builder description(String description)
A description for the network interface.
description - A description for the network interface.AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails.Builder deviceIndex(Integer deviceIndex)
The device index for the network interface attachment.
deviceIndex - The device index for the network interface attachment.AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails.Builder groups(Collection<String> groups)
The IDs of one or more security groups.
groups - The IDs of one or more security groups.AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails.Builder groups(String... groups)
The IDs of one or more security groups.
groups - The IDs of one or more security groups.AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails.Builder interfaceType(String interfaceType)
The type of network interface.
interfaceType - The type of network interface.AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails.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 Ipv4Prefixes option.
ipv4PrefixCount - The number of IPv4 prefixes to be automatically assigned to the network interface. You cannot use this
option if you use the Ipv4Prefixes option.AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails.Builder ipv4Prefixes(Collection<AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesDetails> 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.AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails.Builder ipv4Prefixes(AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesDetails... 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.AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails.Builder ipv4Prefixes(Consumer<AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesDetails.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.
AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesDetails.Builder
avoiding the need to create one manually via
AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesDetails.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
AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv4PrefixesDetails.Builder#ipv4Prefixes(java.util.Collection) AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails.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 you use Ipv6Addresses.
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 you use Ipv6Addresses.AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails.Builder ipv6Addresses(Collection<AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesDetails> ipv6Addresses)
One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option
if you use Ipv6AddressCount.
ipv6Addresses - One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this
option if you use Ipv6AddressCount.AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails.Builder ipv6Addresses(AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesDetails... ipv6Addresses)
One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option
if you use Ipv6AddressCount.
ipv6Addresses - One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this
option if you use Ipv6AddressCount.AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails.Builder ipv6Addresses(Consumer<AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesDetails.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 use Ipv6AddressCount.
AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesDetails.Builder
avoiding the need to create one manually via
AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesDetails.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
AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6AddressesDetails.Builder#ipv6Addresses(java.util.Collection) AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails.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.AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails.Builder ipv6Prefixes(Collection<AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesDetails> 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.AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails.Builder ipv6Prefixes(AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesDetails... 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.AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails.Builder ipv6Prefixes(Consumer<AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesDetails.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.
AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesDetails.Builder
avoiding the need to create one manually via
AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesDetails.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
AwsEc2LaunchTemplateDataNetworkInterfaceSetIpv6PrefixesDetails.Builder#ipv6Prefixes(java.util.Collection) AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails.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.AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails.Builder networkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId - The ID of the network interface.AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails.Builder privateIpAddress(String privateIpAddress)
The primary private IPv4 address of the network interface.
privateIpAddress - The primary private IPv4 address of the network interface.AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails.Builder privateIpAddresses(Collection<AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesDetails> privateIpAddresses)
One or more private IPv4 addresses.
privateIpAddresses - One or more private IPv4 addresses.AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails.Builder privateIpAddresses(AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesDetails... privateIpAddresses)
One or more private IPv4 addresses.
privateIpAddresses - One or more private IPv4 addresses.AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails.Builder privateIpAddresses(Consumer<AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesDetails.Builder>... privateIpAddresses)
One or more private IPv4 addresses.
This is a convenience method that creates an instance of theAwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesDetails.Builder
avoiding the need to create one manually via
AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesDetails.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
AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesDetails.BuilderprivateIpAddresses(java.util.Collection<
AwsEc2LaunchTemplateDataNetworkInterfaceSetPrivateIpAddressesDetails>)AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails.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.AwsEc2LaunchTemplateDataNetworkInterfaceSetDetails.Builder subnetId(String subnetId)
The ID of the subnet for the network interface.
subnetId - The ID of the subnet for the network interface.Copyright © 2023. All rights reserved.