public static interface LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder extends SdkPojo, CopyableBuilder<LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder,LaunchTemplateInstanceNetworkInterfaceSpecificationRequest>
equalsBySdkFields, sdkFieldscopyapplyMutation, buildLaunchTemplateInstanceNetworkInterfaceSpecificationRequest.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 that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #ipv6Addresses(List) .ipv6Addresses - a consumer that will call methods on List.Builder #ipv6Addresses(List) 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 that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #privateIpAddresses(List) .privateIpAddresses - a consumer that will call methods on List.Builder #privateIpAddresses(List) 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.Copyright © 2019. All rights reserved.