Class LaunchTemplateNetworkInterfaces.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.launch_template.LaunchTemplateNetworkInterfaces.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<LaunchTemplateNetworkInterfaces>
- Enclosing interface:
- LaunchTemplateNetworkInterfaces
@Stability(Stable) public static final class LaunchTemplateNetworkInterfaces.Builder extends Object implements software.amazon.jsii.Builder<LaunchTemplateNetworkInterfaces>
A builder forLaunchTemplateNetworkInterfaces
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
associateCarrierIpAddress
@Stability(Stable) public LaunchTemplateNetworkInterfaces.Builder associateCarrierIpAddress(String associateCarrierIpAddress)
Sets the value ofLaunchTemplateNetworkInterfaces.getAssociateCarrierIpAddress()- Parameters:
associateCarrierIpAddress- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#associate_carrier_ip_address LaunchTemplate#associate_carrier_ip_address}.- Returns:
this
-
associatePublicIpAddress
@Stability(Stable) public LaunchTemplateNetworkInterfaces.Builder associatePublicIpAddress(String associatePublicIpAddress)
Sets the value ofLaunchTemplateNetworkInterfaces.getAssociatePublicIpAddress()- Parameters:
associatePublicIpAddress- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#associate_public_ip_address LaunchTemplate#associate_public_ip_address}.- Returns:
this
-
deleteOnTermination
@Stability(Stable) public LaunchTemplateNetworkInterfaces.Builder deleteOnTermination(String deleteOnTermination)
Sets the value ofLaunchTemplateNetworkInterfaces.getDeleteOnTermination()- Parameters:
deleteOnTermination- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#delete_on_termination LaunchTemplate#delete_on_termination}.- Returns:
this
-
description
@Stability(Stable) public LaunchTemplateNetworkInterfaces.Builder description(String description)
Sets the value ofLaunchTemplateNetworkInterfaces.getDescription()- Parameters:
description- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#description LaunchTemplate#description}.- Returns:
this
-
deviceIndex
@Stability(Stable) public LaunchTemplateNetworkInterfaces.Builder deviceIndex(Number deviceIndex)
Sets the value ofLaunchTemplateNetworkInterfaces.getDeviceIndex()- Parameters:
deviceIndex- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#device_index LaunchTemplate#device_index}.- Returns:
this
-
interfaceType
@Stability(Stable) public LaunchTemplateNetworkInterfaces.Builder interfaceType(String interfaceType)
Sets the value ofLaunchTemplateNetworkInterfaces.getInterfaceType()- Parameters:
interfaceType- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#interface_type LaunchTemplate#interface_type}.- Returns:
this
-
ipv4AddressCount
@Stability(Stable) public LaunchTemplateNetworkInterfaces.Builder ipv4AddressCount(Number ipv4AddressCount)
Sets the value ofLaunchTemplateNetworkInterfaces.getIpv4AddressCount()- Parameters:
ipv4AddressCount- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#ipv4_address_count LaunchTemplate#ipv4_address_count}.- Returns:
this
-
ipv4Addresses
@Stability(Stable) public LaunchTemplateNetworkInterfaces.Builder ipv4Addresses(List<String> ipv4Addresses)
Sets the value ofLaunchTemplateNetworkInterfaces.getIpv4Addresses()- Parameters:
ipv4Addresses- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#ipv4_addresses LaunchTemplate#ipv4_addresses}.- Returns:
this
-
ipv4PrefixCount
@Stability(Stable) public LaunchTemplateNetworkInterfaces.Builder ipv4PrefixCount(Number ipv4PrefixCount)
Sets the value ofLaunchTemplateNetworkInterfaces.getIpv4PrefixCount()- Parameters:
ipv4PrefixCount- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#ipv4_prefix_count LaunchTemplate#ipv4_prefix_count}.- Returns:
this
-
ipv4Prefixes
@Stability(Stable) public LaunchTemplateNetworkInterfaces.Builder ipv4Prefixes(List<String> ipv4Prefixes)
Sets the value ofLaunchTemplateNetworkInterfaces.getIpv4Prefixes()- Parameters:
ipv4Prefixes- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#ipv4_prefixes LaunchTemplate#ipv4_prefixes}.- Returns:
this
-
ipv6AddressCount
@Stability(Stable) public LaunchTemplateNetworkInterfaces.Builder ipv6AddressCount(Number ipv6AddressCount)
Sets the value ofLaunchTemplateNetworkInterfaces.getIpv6AddressCount()- Parameters:
ipv6AddressCount- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#ipv6_address_count LaunchTemplate#ipv6_address_count}.- Returns:
this
-
ipv6Addresses
@Stability(Stable) public LaunchTemplateNetworkInterfaces.Builder ipv6Addresses(List<String> ipv6Addresses)
Sets the value ofLaunchTemplateNetworkInterfaces.getIpv6Addresses()- Parameters:
ipv6Addresses- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#ipv6_addresses LaunchTemplate#ipv6_addresses}.- Returns:
this
-
ipv6PrefixCount
@Stability(Stable) public LaunchTemplateNetworkInterfaces.Builder ipv6PrefixCount(Number ipv6PrefixCount)
Sets the value ofLaunchTemplateNetworkInterfaces.getIpv6PrefixCount()- Parameters:
ipv6PrefixCount- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#ipv6_prefix_count LaunchTemplate#ipv6_prefix_count}.- Returns:
this
-
ipv6Prefixes
@Stability(Stable) public LaunchTemplateNetworkInterfaces.Builder ipv6Prefixes(List<String> ipv6Prefixes)
Sets the value ofLaunchTemplateNetworkInterfaces.getIpv6Prefixes()- Parameters:
ipv6Prefixes- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#ipv6_prefixes LaunchTemplate#ipv6_prefixes}.- Returns:
this
-
networkCardIndex
@Stability(Stable) public LaunchTemplateNetworkInterfaces.Builder networkCardIndex(Number networkCardIndex)
Sets the value ofLaunchTemplateNetworkInterfaces.getNetworkCardIndex()- Parameters:
networkCardIndex- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#network_card_index LaunchTemplate#network_card_index}.- Returns:
this
-
networkInterfaceId
@Stability(Stable) public LaunchTemplateNetworkInterfaces.Builder networkInterfaceId(String networkInterfaceId)
Sets the value ofLaunchTemplateNetworkInterfaces.getNetworkInterfaceId()- Parameters:
networkInterfaceId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#network_interface_id LaunchTemplate#network_interface_id}.- Returns:
this
-
privateIpAddress
@Stability(Stable) public LaunchTemplateNetworkInterfaces.Builder privateIpAddress(String privateIpAddress)
Sets the value ofLaunchTemplateNetworkInterfaces.getPrivateIpAddress()- Parameters:
privateIpAddress- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#private_ip_address LaunchTemplate#private_ip_address}.- Returns:
this
-
securityGroups
@Stability(Stable) public LaunchTemplateNetworkInterfaces.Builder securityGroups(List<String> securityGroups)
Sets the value ofLaunchTemplateNetworkInterfaces.getSecurityGroups()- Parameters:
securityGroups- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#security_groups LaunchTemplate#security_groups}.- Returns:
this
-
subnetId
@Stability(Stable) public LaunchTemplateNetworkInterfaces.Builder subnetId(String subnetId)
Sets the value ofLaunchTemplateNetworkInterfaces.getSubnetId()- Parameters:
subnetId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#subnet_id LaunchTemplate#subnet_id}.- Returns:
this
-
build
@Stability(Stable) public LaunchTemplateNetworkInterfaces build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LaunchTemplateNetworkInterfaces>- Returns:
- a new instance of
LaunchTemplateNetworkInterfaces - Throws:
NullPointerException- if any required attribute was not provided
-
-