public static interface LaunchTemplateInstanceNetworkInterfaceSpecification.Builder extends SdkPojo, CopyableBuilder<LaunchTemplateInstanceNetworkInterfaceSpecification.Builder,LaunchTemplateInstanceNetworkInterfaceSpecification>
equalsBySdkFields, sdkFields
copy
applyMutation, build
LaunchTemplateInstanceNetworkInterfaceSpecification.Builder associatePublicIpAddress(Boolean associatePublicIpAddress)
Indicates whether to associate a public IPv4 address with eth0 for a new network interface.
associatePublicIpAddress
- Indicates whether to associate a public IPv4 address with eth0 for a new network interface.LaunchTemplateInstanceNetworkInterfaceSpecification.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.LaunchTemplateInstanceNetworkInterfaceSpecification.Builder description(String description)
A description for the network interface.
description
- A description for the network interface.LaunchTemplateInstanceNetworkInterfaceSpecification.Builder deviceIndex(Integer deviceIndex)
The device index for the network interface attachment.
deviceIndex
- The device index for the network interface attachment.LaunchTemplateInstanceNetworkInterfaceSpecification.Builder groups(Collection<String> groups)
The IDs of one or more security groups.
groups
- The IDs of one or more security groups.LaunchTemplateInstanceNetworkInterfaceSpecification.Builder groups(String... groups)
The IDs of one or more security groups.
groups
- The IDs of one or more security groups.LaunchTemplateInstanceNetworkInterfaceSpecification.Builder interfaceType(String interfaceType)
The type of network interface.
interfaceType
- The type of network interface.LaunchTemplateInstanceNetworkInterfaceSpecification.Builder ipv6AddressCount(Integer ipv6AddressCount)
The number of IPv6 addresses for the network interface.
ipv6AddressCount
- The number of IPv6 addresses for the network interface.LaunchTemplateInstanceNetworkInterfaceSpecification.Builder ipv6Addresses(Collection<InstanceIpv6Address> ipv6Addresses)
The IPv6 addresses for the network interface.
ipv6Addresses
- The IPv6 addresses for the network interface.LaunchTemplateInstanceNetworkInterfaceSpecification.Builder ipv6Addresses(InstanceIpv6Address... ipv6Addresses)
The IPv6 addresses for the network interface.
ipv6Addresses
- The IPv6 addresses for the network interface.LaunchTemplateInstanceNetworkInterfaceSpecification.Builder ipv6Addresses(Consumer<InstanceIpv6Address.Builder>... ipv6Addresses)
The IPv6 addresses for the network interface.
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)
LaunchTemplateInstanceNetworkInterfaceSpecification.Builder networkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.LaunchTemplateInstanceNetworkInterfaceSpecification.Builder privateIpAddress(String privateIpAddress)
The primary private IPv4 address of the network interface.
privateIpAddress
- The primary private IPv4 address of the network interface.LaunchTemplateInstanceNetworkInterfaceSpecification.Builder privateIpAddresses(Collection<PrivateIpAddressSpecification> privateIpAddresses)
One or more private IPv4 addresses.
privateIpAddresses
- One or more private IPv4 addresses.LaunchTemplateInstanceNetworkInterfaceSpecification.Builder privateIpAddresses(PrivateIpAddressSpecification... privateIpAddresses)
One or more private IPv4 addresses.
privateIpAddresses
- One or more private IPv4 addresses.LaunchTemplateInstanceNetworkInterfaceSpecification.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)
LaunchTemplateInstanceNetworkInterfaceSpecification.Builder secondaryPrivateIpAddressCount(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.LaunchTemplateInstanceNetworkInterfaceSpecification.Builder subnetId(String subnetId)
The ID of the subnet for the network interface.
subnetId
- The ID of the subnet for the network interface.Copyright © 2020. All rights reserved.