Package com.pulumi.aws.ec2.inputs
Class LaunchTemplateNetworkInterfaceArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.ec2.inputs.LaunchTemplateNetworkInterfaceArgs.Builder
-
- Enclosing class:
- LaunchTemplateNetworkInterfaceArgs
public static final class LaunchTemplateNetworkInterfaceArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(LaunchTemplateNetworkInterfaceArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(LaunchTemplateNetworkInterfaceArgs defaults)
-
-
Method Detail
-
associateCarrierIpAddress
public LaunchTemplateNetworkInterfaceArgs.Builder associateCarrierIpAddress(@Nullable com.pulumi.core.Output<java.lang.String> associateCarrierIpAddress)
- Parameters:
associateCarrierIpAddress- Associate a Carrier IP address with `eth0` for a new network interface. Use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. Boolean value, can be left unset.- Returns:
- builder
-
associateCarrierIpAddress
public LaunchTemplateNetworkInterfaceArgs.Builder associateCarrierIpAddress(java.lang.String associateCarrierIpAddress)
- Parameters:
associateCarrierIpAddress- Associate a Carrier IP address with `eth0` for a new network interface. Use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. Boolean value, can be left unset.- Returns:
- builder
-
associatePublicIpAddress
public LaunchTemplateNetworkInterfaceArgs.Builder associatePublicIpAddress(@Nullable com.pulumi.core.Output<java.lang.String> associatePublicIpAddress)
- Parameters:
associatePublicIpAddress- Associate a public IP address with the network interface. Boolean value, can be left unset.- Returns:
- builder
-
associatePublicIpAddress
public LaunchTemplateNetworkInterfaceArgs.Builder associatePublicIpAddress(java.lang.String associatePublicIpAddress)
- Parameters:
associatePublicIpAddress- Associate a public IP address with the network interface. Boolean value, can be left unset.- Returns:
- builder
-
connectionTrackingSpecification
public LaunchTemplateNetworkInterfaceArgs.Builder connectionTrackingSpecification(@Nullable com.pulumi.core.Output<LaunchTemplateNetworkInterfaceConnectionTrackingSpecificationArgs> connectionTrackingSpecification)
- Parameters:
connectionTrackingSpecification- The Connection Tracking Configuration for the network interface. See [Amazon EC2 security group connection tracking](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts)- Returns:
- builder
-
connectionTrackingSpecification
public LaunchTemplateNetworkInterfaceArgs.Builder connectionTrackingSpecification(LaunchTemplateNetworkInterfaceConnectionTrackingSpecificationArgs connectionTrackingSpecification)
- Parameters:
connectionTrackingSpecification- The Connection Tracking Configuration for the network interface. See [Amazon EC2 security group connection tracking](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/security-group-connection-tracking.html#connection-tracking-timeouts)- Returns:
- builder
-
deleteOnTermination
public LaunchTemplateNetworkInterfaceArgs.Builder deleteOnTermination(@Nullable com.pulumi.core.Output<java.lang.String> deleteOnTermination)
- Parameters:
deleteOnTermination- Whether the network interface should be destroyed on instance termination.- Returns:
- builder
-
deleteOnTermination
public LaunchTemplateNetworkInterfaceArgs.Builder deleteOnTermination(java.lang.String deleteOnTermination)
- Parameters:
deleteOnTermination- Whether the network interface should be destroyed on instance termination.- Returns:
- builder
-
description
public LaunchTemplateNetworkInterfaceArgs.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description- Description of the network interface.- Returns:
- builder
-
description
public LaunchTemplateNetworkInterfaceArgs.Builder description(java.lang.String description)
- Parameters:
description- Description of the network interface.- Returns:
- builder
-
deviceIndex
public LaunchTemplateNetworkInterfaceArgs.Builder deviceIndex(@Nullable com.pulumi.core.Output<java.lang.Integer> deviceIndex)
- Parameters:
deviceIndex- The integer index of the network interface attachment.- Returns:
- builder
-
deviceIndex
public LaunchTemplateNetworkInterfaceArgs.Builder deviceIndex(java.lang.Integer deviceIndex)
- Parameters:
deviceIndex- The integer index of the network interface attachment.- Returns:
- builder
-
enaQueueCount
public LaunchTemplateNetworkInterfaceArgs.Builder enaQueueCount(@Nullable com.pulumi.core.Output<java.lang.Integer> enaQueueCount)
- Parameters:
enaQueueCount- The number of ENA queues to be created with the instance. Requires an instance type and operating system that support [ENA queue configuration](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ena-queues.html).- Returns:
- builder
-
enaQueueCount
public LaunchTemplateNetworkInterfaceArgs.Builder enaQueueCount(java.lang.Integer enaQueueCount)
- Parameters:
enaQueueCount- The number of ENA queues to be created with the instance. Requires an instance type and operating system that support [ENA queue configuration](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ena-queues.html).- Returns:
- builder
-
enaSrdSpecification
public LaunchTemplateNetworkInterfaceArgs.Builder enaSrdSpecification(@Nullable com.pulumi.core.Output<LaunchTemplateNetworkInterfaceEnaSrdSpecificationArgs> enaSrdSpecification)
- Parameters:
enaSrdSpecification- Configuration for Elastic Network Adapter (ENA) Express settings. Applies to network interfaces that use the [ena Express](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking-ena-express.html) feature. See details below.- Returns:
- builder
-
enaSrdSpecification
public LaunchTemplateNetworkInterfaceArgs.Builder enaSrdSpecification(LaunchTemplateNetworkInterfaceEnaSrdSpecificationArgs enaSrdSpecification)
- Parameters:
enaSrdSpecification- Configuration for Elastic Network Adapter (ENA) Express settings. Applies to network interfaces that use the [ena Express](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking-ena-express.html) feature. See details below.- Returns:
- builder
-
interfaceType
public LaunchTemplateNetworkInterfaceArgs.Builder interfaceType(@Nullable com.pulumi.core.Output<java.lang.String> interfaceType)
- Parameters:
interfaceType- The type of network interface. To create an Elastic Fabric Adapter (EFA), specify `efa`.- Returns:
- builder
-
interfaceType
public LaunchTemplateNetworkInterfaceArgs.Builder interfaceType(java.lang.String interfaceType)
- Parameters:
interfaceType- The type of network interface. To create an Elastic Fabric Adapter (EFA), specify `efa`.- Returns:
- builder
-
ipv4AddressCount
public LaunchTemplateNetworkInterfaceArgs.Builder ipv4AddressCount(@Nullable com.pulumi.core.Output<java.lang.Integer> ipv4AddressCount)
- Parameters:
ipv4AddressCount- The number of secondary private IPv4 addresses to assign to a network interface. Conflicts with `ipv4Addresses`- Returns:
- builder
-
ipv4AddressCount
public LaunchTemplateNetworkInterfaceArgs.Builder ipv4AddressCount(java.lang.Integer ipv4AddressCount)
- Parameters:
ipv4AddressCount- The number of secondary private IPv4 addresses to assign to a network interface. Conflicts with `ipv4Addresses`- Returns:
- builder
-
ipv4Addresses
public LaunchTemplateNetworkInterfaceArgs.Builder ipv4Addresses(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> ipv4Addresses)
- Parameters:
ipv4Addresses- One or more private IPv4 addresses to associate. Conflicts with `ipv4AddressCount`- Returns:
- builder
-
ipv4Addresses
public LaunchTemplateNetworkInterfaceArgs.Builder ipv4Addresses(java.util.List<java.lang.String> ipv4Addresses)
- Parameters:
ipv4Addresses- One or more private IPv4 addresses to associate. Conflicts with `ipv4AddressCount`- Returns:
- builder
-
ipv4Addresses
public LaunchTemplateNetworkInterfaceArgs.Builder ipv4Addresses(java.lang.String... ipv4Addresses)
- Parameters:
ipv4Addresses- One or more private IPv4 addresses to associate. Conflicts with `ipv4AddressCount`- Returns:
- builder
-
ipv4PrefixCount
public LaunchTemplateNetworkInterfaceArgs.Builder ipv4PrefixCount(@Nullable com.pulumi.core.Output<java.lang.Integer> ipv4PrefixCount)
- Parameters:
ipv4PrefixCount- The number of IPv4 prefixes to be automatically assigned to the network interface. Conflicts with `ipv4Prefixes`- Returns:
- builder
-
ipv4PrefixCount
public LaunchTemplateNetworkInterfaceArgs.Builder ipv4PrefixCount(java.lang.Integer ipv4PrefixCount)
- Parameters:
ipv4PrefixCount- The number of IPv4 prefixes to be automatically assigned to the network interface. Conflicts with `ipv4Prefixes`- Returns:
- builder
-
ipv4Prefixes
public LaunchTemplateNetworkInterfaceArgs.Builder ipv4Prefixes(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> ipv4Prefixes)
- Parameters:
ipv4Prefixes- One or more IPv4 prefixes to be assigned to the network interface. Conflicts with `ipv4PrefixCount`- Returns:
- builder
-
ipv4Prefixes
public LaunchTemplateNetworkInterfaceArgs.Builder ipv4Prefixes(java.util.List<java.lang.String> ipv4Prefixes)
- Parameters:
ipv4Prefixes- One or more IPv4 prefixes to be assigned to the network interface. Conflicts with `ipv4PrefixCount`- Returns:
- builder
-
ipv4Prefixes
public LaunchTemplateNetworkInterfaceArgs.Builder ipv4Prefixes(java.lang.String... ipv4Prefixes)
- Parameters:
ipv4Prefixes- One or more IPv4 prefixes to be assigned to the network interface. Conflicts with `ipv4PrefixCount`- Returns:
- builder
-
ipv6AddressCount
public LaunchTemplateNetworkInterfaceArgs.Builder ipv6AddressCount(@Nullable com.pulumi.core.Output<java.lang.Integer> ipv6AddressCount)
- Parameters:
ipv6AddressCount- The number of IPv6 addresses to assign to a network interface. Conflicts with `ipv6Addresses`- Returns:
- builder
-
ipv6AddressCount
public LaunchTemplateNetworkInterfaceArgs.Builder ipv6AddressCount(java.lang.Integer ipv6AddressCount)
- Parameters:
ipv6AddressCount- The number of IPv6 addresses to assign to a network interface. Conflicts with `ipv6Addresses`- Returns:
- builder
-
ipv6Addresses
public LaunchTemplateNetworkInterfaceArgs.Builder ipv6Addresses(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> ipv6Addresses)
- Parameters:
ipv6Addresses- One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. Conflicts with `ipv6AddressCount`- Returns:
- builder
-
ipv6Addresses
public LaunchTemplateNetworkInterfaceArgs.Builder ipv6Addresses(java.util.List<java.lang.String> ipv6Addresses)
- Parameters:
ipv6Addresses- One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. Conflicts with `ipv6AddressCount`- Returns:
- builder
-
ipv6Addresses
public LaunchTemplateNetworkInterfaceArgs.Builder ipv6Addresses(java.lang.String... ipv6Addresses)
- Parameters:
ipv6Addresses- One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. Conflicts with `ipv6AddressCount`- Returns:
- builder
-
ipv6PrefixCount
public LaunchTemplateNetworkInterfaceArgs.Builder ipv6PrefixCount(@Nullable com.pulumi.core.Output<java.lang.Integer> ipv6PrefixCount)
- Parameters:
ipv6PrefixCount- The number of IPv6 prefixes to be automatically assigned to the network interface. Conflicts with `ipv6Prefixes`- Returns:
- builder
-
ipv6PrefixCount
public LaunchTemplateNetworkInterfaceArgs.Builder ipv6PrefixCount(java.lang.Integer ipv6PrefixCount)
- Parameters:
ipv6PrefixCount- The number of IPv6 prefixes to be automatically assigned to the network interface. Conflicts with `ipv6Prefixes`- Returns:
- builder
-
ipv6Prefixes
public LaunchTemplateNetworkInterfaceArgs.Builder ipv6Prefixes(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> ipv6Prefixes)
- Parameters:
ipv6Prefixes- One or more IPv6 prefixes to be assigned to the network interface. Conflicts with `ipv6PrefixCount`- Returns:
- builder
-
ipv6Prefixes
public LaunchTemplateNetworkInterfaceArgs.Builder ipv6Prefixes(java.util.List<java.lang.String> ipv6Prefixes)
- Parameters:
ipv6Prefixes- One or more IPv6 prefixes to be assigned to the network interface. Conflicts with `ipv6PrefixCount`- Returns:
- builder
-
ipv6Prefixes
public LaunchTemplateNetworkInterfaceArgs.Builder ipv6Prefixes(java.lang.String... ipv6Prefixes)
- Parameters:
ipv6Prefixes- One or more IPv6 prefixes to be assigned to the network interface. Conflicts with `ipv6PrefixCount`- Returns:
- builder
-
networkCardIndex
public LaunchTemplateNetworkInterfaceArgs.Builder networkCardIndex(@Nullable com.pulumi.core.Output<java.lang.Integer> networkCardIndex)
- Parameters:
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.- Returns:
- builder
-
networkCardIndex
public LaunchTemplateNetworkInterfaceArgs.Builder networkCardIndex(java.lang.Integer networkCardIndex)
- Parameters:
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.- Returns:
- builder
-
networkInterfaceId
public LaunchTemplateNetworkInterfaceArgs.Builder networkInterfaceId(@Nullable com.pulumi.core.Output<java.lang.String> networkInterfaceId)
- Parameters:
networkInterfaceId- The ID of the network interface to attach.- Returns:
- builder
-
networkInterfaceId
public LaunchTemplateNetworkInterfaceArgs.Builder networkInterfaceId(java.lang.String networkInterfaceId)
- Parameters:
networkInterfaceId- The ID of the network interface to attach.- Returns:
- builder
-
primaryIpv6
public LaunchTemplateNetworkInterfaceArgs.Builder primaryIpv6(@Nullable com.pulumi.core.Output<java.lang.String> primaryIpv6)
- Parameters:
primaryIpv6- Whether the first IPv6 GUA will be made the primary IPv6 address.- Returns:
- builder
-
primaryIpv6
public LaunchTemplateNetworkInterfaceArgs.Builder primaryIpv6(java.lang.String primaryIpv6)
- Parameters:
primaryIpv6- Whether the first IPv6 GUA will be made the primary IPv6 address.- Returns:
- builder
-
privateIpAddress
public LaunchTemplateNetworkInterfaceArgs.Builder privateIpAddress(@Nullable com.pulumi.core.Output<java.lang.String> privateIpAddress)
- Parameters:
privateIpAddress- The primary private IPv4 address.- Returns:
- builder
-
privateIpAddress
public LaunchTemplateNetworkInterfaceArgs.Builder privateIpAddress(java.lang.String privateIpAddress)
- Parameters:
privateIpAddress- The primary private IPv4 address.- Returns:
- builder
-
securityGroups
public LaunchTemplateNetworkInterfaceArgs.Builder securityGroups(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> securityGroups)
- Parameters:
securityGroups- A list of security group IDs to associate.- Returns:
- builder
-
securityGroups
public LaunchTemplateNetworkInterfaceArgs.Builder securityGroups(java.util.List<java.lang.String> securityGroups)
- Parameters:
securityGroups- A list of security group IDs to associate.- Returns:
- builder
-
securityGroups
public LaunchTemplateNetworkInterfaceArgs.Builder securityGroups(java.lang.String... securityGroups)
- Parameters:
securityGroups- A list of security group IDs to associate.- Returns:
- builder
-
subnetId
public LaunchTemplateNetworkInterfaceArgs.Builder subnetId(@Nullable com.pulumi.core.Output<java.lang.String> subnetId)
- Parameters:
subnetId- The VPC Subnet ID to associate.- Returns:
- builder
-
subnetId
public LaunchTemplateNetworkInterfaceArgs.Builder subnetId(java.lang.String subnetId)
- Parameters:
subnetId- The VPC Subnet ID to associate.- Returns:
- builder
-
build
public LaunchTemplateNetworkInterfaceArgs build()
-
-