public static interface ScheduledInstancesNetworkInterface.Builder extends SdkPojo, CopyableBuilder<ScheduledInstancesNetworkInterface.Builder,ScheduledInstancesNetworkInterface>
equalsBySdkFields, sdkFieldscopyapplyMutation, buildScheduledInstancesNetworkInterface.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 the security groups.
groups - The IDs of the security groups.ScheduledInstancesNetworkInterface.Builder groups(String... groups)
The IDs of the security groups.
groups - The IDs of the 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)
The specific IPv6 addresses from the subnet range.
ipv6Addresses - The specific IPv6 addresses from the subnet range.ScheduledInstancesNetworkInterface.Builder ipv6Addresses(ScheduledInstancesIpv6Address... ipv6Addresses)
The specific IPv6 addresses from the subnet range.
ipv6Addresses - The specific IPv6 addresses from the subnet range.ScheduledInstancesNetworkInterface.Builder ipv6Addresses(Consumer<ScheduledInstancesIpv6Address.Builder>... ipv6Addresses)
The specific IPv6 addresses from the subnet range.
This is a convenience method that creates an instance of theScheduledInstancesIpv6Address.Builder avoiding the need to
create one manually via
ScheduledInstancesIpv6Address.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
ScheduledInstancesIpv6Address.Builder#ipv6Addresses(java.util.Collection) 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 method that creates an instance of theScheduledInstancesPrivateIpAddressConfig.Builder avoiding
the need to create one manually via
ScheduledInstancesPrivateIpAddressConfig.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #privateIpAddressConfigs(List.
privateIpAddressConfigs - a consumer that will call methods on
ScheduledInstancesPrivateIpAddressConfig.Builder#privateIpAddressConfigs(java.util.Collection) 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 © 2023. All rights reserved.