public static interface ScheduledInstancesNetworkInterface.Builder extends CopyableBuilder<ScheduledInstancesNetworkInterface.Builder,ScheduledInstancesNetworkInterface>
copy
applyMutation, build
ScheduledInstancesNetworkInterface.Builder associatePublicIpAddress(Boolean associatePublicIpAddress)
Indicates whether to assign a public IPv4 address to instances launched in a VPC. The public IPv4 address can
only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an
existing one. You cannot specify more than one network interface in the request. If launching into a default
subnet, the default value is true
.
associatePublicIpAddress
- Indicates whether to assign a public IPv4 address to instances launched in a VPC. The public IPv4
address can only be assigned to a network interface for eth0, and can only be assigned to a new
network interface, not an existing one. You cannot specify more than one network interface in the
request. If launching into a default subnet, the default value is true
.ScheduledInstancesNetworkInterface.Builder deleteOnTermination(Boolean deleteOnTermination)
Indicates whether to delete the interface when the instance is terminated.
deleteOnTermination
- Indicates whether to delete the interface when the instance is terminated.ScheduledInstancesNetworkInterface.Builder description(String description)
The description.
description
- The description.ScheduledInstancesNetworkInterface.Builder deviceIndex(Integer deviceIndex)
The index of the device for the network interface attachment.
deviceIndex
- The index of the device for the network interface attachment.ScheduledInstancesNetworkInterface.Builder groups(Collection<String> groups)
The IDs of one or more security groups.
groups
- The IDs of one or more security groups.ScheduledInstancesNetworkInterface.Builder groups(String... groups)
The IDs of one or more security groups.
groups
- The IDs of one or more security groups.ScheduledInstancesNetworkInterface.Builder ipv6AddressCount(Integer ipv6AddressCount)
The number of IPv6 addresses to assign to the network interface. The IPv6 addresses are automatically selected from the subnet range.
ipv6AddressCount
- The number of IPv6 addresses to assign to the network interface. The IPv6 addresses are automatically
selected from the subnet range.ScheduledInstancesNetworkInterface.Builder ipv6Addresses(Collection<ScheduledInstancesIpv6Address> ipv6Addresses)
One or more specific IPv6 addresses from the subnet range.
ipv6Addresses
- One or more specific IPv6 addresses from the subnet range.ScheduledInstancesNetworkInterface.Builder ipv6Addresses(ScheduledInstancesIpv6Address... ipv6Addresses)
One or more specific IPv6 addresses from the subnet range.
ipv6Addresses
- One or more specific IPv6 addresses from the subnet range.ScheduledInstancesNetworkInterface.Builder ipv6Addresses(Consumer<ScheduledInstancesIpv6Address.Builder>... ipv6Addresses)
One or more specific IPv6 addresses from the subnet range.
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)
ScheduledInstancesNetworkInterface.Builder networkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.ScheduledInstancesNetworkInterface.Builder privateIpAddress(String privateIpAddress)
The IPv4 address of the network interface within the subnet.
privateIpAddress
- The IPv4 address of the network interface within the subnet.ScheduledInstancesNetworkInterface.Builder privateIpAddressConfigs(Collection<ScheduledInstancesPrivateIpAddressConfig> privateIpAddressConfigs)
The private IPv4 addresses.
privateIpAddressConfigs
- The private IPv4 addresses.ScheduledInstancesNetworkInterface.Builder privateIpAddressConfigs(ScheduledInstancesPrivateIpAddressConfig... privateIpAddressConfigs)
The private IPv4 addresses.
privateIpAddressConfigs
- The private IPv4 addresses.ScheduledInstancesNetworkInterface.Builder privateIpAddressConfigs(Consumer<ScheduledInstancesPrivateIpAddressConfig.Builder>... privateIpAddressConfigs)
The private IPv4 addresses.
This is a convenience that creates an instance of the.Builder
avoiding the need to create one manually via #builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result is passed to #privateIpAddressConfigs(List)
.privateIpAddressConfigs
- a consumer that will call methods on List.Builder
#privateIpAddressConfigs(List)
ScheduledInstancesNetworkInterface.Builder secondaryPrivateIpAddressCount(Integer secondaryPrivateIpAddressCount)
The number of secondary private IPv4 addresses.
secondaryPrivateIpAddressCount
- The number of secondary private IPv4 addresses.ScheduledInstancesNetworkInterface.Builder subnetId(String subnetId)
The ID of the subnet.
subnetId
- The ID of the subnet.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.