Class LaunchTemplateConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.launch_template.LaunchTemplateConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<LaunchTemplateConfig>
- Enclosing interface:
- LaunchTemplateConfig
@Stability(Stable) public static final class LaunchTemplateConfig.Builder extends Object implements software.amazon.jsii.Builder<LaunchTemplateConfig>
A builder forLaunchTemplateConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
blockDeviceMappings
@Stability(Stable) public LaunchTemplateConfig.Builder blockDeviceMappings(com.hashicorp.cdktf.IResolvable blockDeviceMappings)
Sets the value ofLaunchTemplateConfig.getBlockDeviceMappings()- Parameters:
blockDeviceMappings- block_device_mappings block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#block_device_mappings LaunchTemplate#block_device_mappings}- Returns:
this
-
blockDeviceMappings
@Stability(Stable) public LaunchTemplateConfig.Builder blockDeviceMappings(List<? extends LaunchTemplateBlockDeviceMappings> blockDeviceMappings)
Sets the value ofLaunchTemplateConfig.getBlockDeviceMappings()- Parameters:
blockDeviceMappings- block_device_mappings block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#block_device_mappings LaunchTemplate#block_device_mappings}- Returns:
this
-
capacityReservationSpecification
@Stability(Stable) public LaunchTemplateConfig.Builder capacityReservationSpecification(LaunchTemplateCapacityReservationSpecification capacityReservationSpecification)
Sets the value ofLaunchTemplateConfig.getCapacityReservationSpecification()- Parameters:
capacityReservationSpecification- capacity_reservation_specification block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#capacity_reservation_specification LaunchTemplate#capacity_reservation_specification}- Returns:
this
-
cpuOptions
@Stability(Stable) public LaunchTemplateConfig.Builder cpuOptions(LaunchTemplateCpuOptions cpuOptions)
Sets the value ofLaunchTemplateConfig.getCpuOptions()- Parameters:
cpuOptions- cpu_options block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#cpu_options LaunchTemplate#cpu_options}- Returns:
this
-
creditSpecification
@Stability(Stable) public LaunchTemplateConfig.Builder creditSpecification(LaunchTemplateCreditSpecification creditSpecification)
Sets the value ofLaunchTemplateConfig.getCreditSpecification()- Parameters:
creditSpecification- credit_specification block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#credit_specification LaunchTemplate#credit_specification}- Returns:
this
-
defaultVersion
@Stability(Stable) public LaunchTemplateConfig.Builder defaultVersion(Number defaultVersion)
Sets the value ofLaunchTemplateConfig.getDefaultVersion()- Parameters:
defaultVersion- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#default_version LaunchTemplate#default_version}.- Returns:
this
-
description
@Stability(Stable) public LaunchTemplateConfig.Builder description(String description)
Sets the value ofLaunchTemplateConfig.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
-
disableApiStop
@Stability(Stable) public LaunchTemplateConfig.Builder disableApiStop(Boolean disableApiStop)
Sets the value ofLaunchTemplateConfig.getDisableApiStop()- Parameters:
disableApiStop- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#disable_api_stop LaunchTemplate#disable_api_stop}.- Returns:
this
-
disableApiStop
@Stability(Stable) public LaunchTemplateConfig.Builder disableApiStop(com.hashicorp.cdktf.IResolvable disableApiStop)
Sets the value ofLaunchTemplateConfig.getDisableApiStop()- Parameters:
disableApiStop- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#disable_api_stop LaunchTemplate#disable_api_stop}.- Returns:
this
-
disableApiTermination
@Stability(Stable) public LaunchTemplateConfig.Builder disableApiTermination(Boolean disableApiTermination)
Sets the value ofLaunchTemplateConfig.getDisableApiTermination()- Parameters:
disableApiTermination- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#disable_api_termination LaunchTemplate#disable_api_termination}.- Returns:
this
-
disableApiTermination
@Stability(Stable) public LaunchTemplateConfig.Builder disableApiTermination(com.hashicorp.cdktf.IResolvable disableApiTermination)
Sets the value ofLaunchTemplateConfig.getDisableApiTermination()- Parameters:
disableApiTermination- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#disable_api_termination LaunchTemplate#disable_api_termination}.- Returns:
this
-
ebsOptimized
@Stability(Stable) public LaunchTemplateConfig.Builder ebsOptimized(String ebsOptimized)
Sets the value ofLaunchTemplateConfig.getEbsOptimized()- Parameters:
ebsOptimized- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#ebs_optimized LaunchTemplate#ebs_optimized}.- Returns:
this
-
elasticGpuSpecifications
@Stability(Stable) public LaunchTemplateConfig.Builder elasticGpuSpecifications(com.hashicorp.cdktf.IResolvable elasticGpuSpecifications)
Sets the value ofLaunchTemplateConfig.getElasticGpuSpecifications()- Parameters:
elasticGpuSpecifications- elastic_gpu_specifications block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#elastic_gpu_specifications LaunchTemplate#elastic_gpu_specifications}- Returns:
this
-
elasticGpuSpecifications
@Stability(Stable) public LaunchTemplateConfig.Builder elasticGpuSpecifications(List<? extends LaunchTemplateElasticGpuSpecifications> elasticGpuSpecifications)
Sets the value ofLaunchTemplateConfig.getElasticGpuSpecifications()- Parameters:
elasticGpuSpecifications- elastic_gpu_specifications block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#elastic_gpu_specifications LaunchTemplate#elastic_gpu_specifications}- Returns:
this
-
elasticInferenceAccelerator
@Stability(Stable) public LaunchTemplateConfig.Builder elasticInferenceAccelerator(LaunchTemplateElasticInferenceAccelerator elasticInferenceAccelerator)
Sets the value ofLaunchTemplateConfig.getElasticInferenceAccelerator()- Parameters:
elasticInferenceAccelerator- elastic_inference_accelerator block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#elastic_inference_accelerator LaunchTemplate#elastic_inference_accelerator}- Returns:
this
-
enclaveOptions
@Stability(Stable) public LaunchTemplateConfig.Builder enclaveOptions(LaunchTemplateEnclaveOptions enclaveOptions)
Sets the value ofLaunchTemplateConfig.getEnclaveOptions()- Parameters:
enclaveOptions- enclave_options block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#enclave_options LaunchTemplate#enclave_options}- Returns:
this
-
hibernationOptions
@Stability(Stable) public LaunchTemplateConfig.Builder hibernationOptions(LaunchTemplateHibernationOptions hibernationOptions)
Sets the value ofLaunchTemplateConfig.getHibernationOptions()- Parameters:
hibernationOptions- hibernation_options block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#hibernation_options LaunchTemplate#hibernation_options}- Returns:
this
-
iamInstanceProfile
@Stability(Stable) public LaunchTemplateConfig.Builder iamInstanceProfile(LaunchTemplateIamInstanceProfile iamInstanceProfile)
Sets the value ofLaunchTemplateConfig.getIamInstanceProfile()- Parameters:
iamInstanceProfile- iam_instance_profile block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#iam_instance_profile LaunchTemplate#iam_instance_profile}- Returns:
this
-
id
@Stability(Stable) public LaunchTemplateConfig.Builder id(String id)
Sets the value ofLaunchTemplateConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#id LaunchTemplate#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
imageId
@Stability(Stable) public LaunchTemplateConfig.Builder imageId(String imageId)
Sets the value ofLaunchTemplateConfig.getImageId()- Parameters:
imageId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#image_id LaunchTemplate#image_id}.- Returns:
this
-
instanceInitiatedShutdownBehavior
@Stability(Stable) public LaunchTemplateConfig.Builder instanceInitiatedShutdownBehavior(String instanceInitiatedShutdownBehavior)
Sets the value ofLaunchTemplateConfig.getInstanceInitiatedShutdownBehavior()- Parameters:
instanceInitiatedShutdownBehavior- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#instance_initiated_shutdown_behavior LaunchTemplate#instance_initiated_shutdown_behavior}.- Returns:
this
-
instanceMarketOptions
@Stability(Stable) public LaunchTemplateConfig.Builder instanceMarketOptions(LaunchTemplateInstanceMarketOptions instanceMarketOptions)
Sets the value ofLaunchTemplateConfig.getInstanceMarketOptions()- Parameters:
instanceMarketOptions- instance_market_options block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#instance_market_options LaunchTemplate#instance_market_options}- Returns:
this
-
instanceRequirements
@Stability(Stable) public LaunchTemplateConfig.Builder instanceRequirements(LaunchTemplateInstanceRequirements instanceRequirements)
Sets the value ofLaunchTemplateConfig.getInstanceRequirements()- Parameters:
instanceRequirements- instance_requirements block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#instance_requirements LaunchTemplate#instance_requirements}- Returns:
this
-
instanceType
@Stability(Stable) public LaunchTemplateConfig.Builder instanceType(String instanceType)
Sets the value ofLaunchTemplateConfig.getInstanceType()- Parameters:
instanceType- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#instance_type LaunchTemplate#instance_type}.- Returns:
this
-
kernelId
@Stability(Stable) public LaunchTemplateConfig.Builder kernelId(String kernelId)
Sets the value ofLaunchTemplateConfig.getKernelId()- Parameters:
kernelId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#kernel_id LaunchTemplate#kernel_id}.- Returns:
this
-
keyName
@Stability(Stable) public LaunchTemplateConfig.Builder keyName(String keyName)
Sets the value ofLaunchTemplateConfig.getKeyName()- Parameters:
keyName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#key_name LaunchTemplate#key_name}.- Returns:
this
-
licenseSpecification
@Stability(Stable) public LaunchTemplateConfig.Builder licenseSpecification(com.hashicorp.cdktf.IResolvable licenseSpecification)
Sets the value ofLaunchTemplateConfig.getLicenseSpecification()- Parameters:
licenseSpecification- license_specification block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#license_specification LaunchTemplate#license_specification}- Returns:
this
-
licenseSpecification
@Stability(Stable) public LaunchTemplateConfig.Builder licenseSpecification(List<? extends LaunchTemplateLicenseSpecification> licenseSpecification)
Sets the value ofLaunchTemplateConfig.getLicenseSpecification()- Parameters:
licenseSpecification- license_specification block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#license_specification LaunchTemplate#license_specification}- Returns:
this
-
maintenanceOptions
@Stability(Stable) public LaunchTemplateConfig.Builder maintenanceOptions(LaunchTemplateMaintenanceOptions maintenanceOptions)
Sets the value ofLaunchTemplateConfig.getMaintenanceOptions()- Parameters:
maintenanceOptions- maintenance_options block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#maintenance_options LaunchTemplate#maintenance_options}- Returns:
this
-
metadataOptions
@Stability(Stable) public LaunchTemplateConfig.Builder metadataOptions(LaunchTemplateMetadataOptions metadataOptions)
Sets the value ofLaunchTemplateConfig.getMetadataOptions()- Parameters:
metadataOptions- metadata_options block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#metadata_options LaunchTemplate#metadata_options}- Returns:
this
-
monitoring
@Stability(Stable) public LaunchTemplateConfig.Builder monitoring(LaunchTemplateMonitoring monitoring)
Sets the value ofLaunchTemplateConfig.getMonitoring()- Parameters:
monitoring- monitoring block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#monitoring LaunchTemplate#monitoring}- Returns:
this
-
name
@Stability(Stable) public LaunchTemplateConfig.Builder name(String name)
Sets the value ofLaunchTemplateConfig.getName()- Parameters:
name- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#name LaunchTemplate#name}.- Returns:
this
-
namePrefix
@Stability(Stable) public LaunchTemplateConfig.Builder namePrefix(String namePrefix)
Sets the value ofLaunchTemplateConfig.getNamePrefix()- Parameters:
namePrefix- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#name_prefix LaunchTemplate#name_prefix}.- Returns:
this
-
networkInterfaces
@Stability(Stable) public LaunchTemplateConfig.Builder networkInterfaces(com.hashicorp.cdktf.IResolvable networkInterfaces)
Sets the value ofLaunchTemplateConfig.getNetworkInterfaces()- Parameters:
networkInterfaces- network_interfaces block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#network_interfaces LaunchTemplate#network_interfaces}- Returns:
this
-
networkInterfaces
@Stability(Stable) public LaunchTemplateConfig.Builder networkInterfaces(List<? extends LaunchTemplateNetworkInterfaces> networkInterfaces)
Sets the value ofLaunchTemplateConfig.getNetworkInterfaces()- Parameters:
networkInterfaces- network_interfaces block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#network_interfaces LaunchTemplate#network_interfaces}- Returns:
this
-
placement
@Stability(Stable) public LaunchTemplateConfig.Builder placement(LaunchTemplatePlacement placement)
Sets the value ofLaunchTemplateConfig.getPlacement()- Parameters:
placement- placement block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#placement LaunchTemplate#placement}- Returns:
this
-
privateDnsNameOptions
@Stability(Stable) public LaunchTemplateConfig.Builder privateDnsNameOptions(LaunchTemplatePrivateDnsNameOptions privateDnsNameOptions)
Sets the value ofLaunchTemplateConfig.getPrivateDnsNameOptions()- Parameters:
privateDnsNameOptions- private_dns_name_options block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#private_dns_name_options LaunchTemplate#private_dns_name_options}- Returns:
this
-
ramDiskId
@Stability(Stable) public LaunchTemplateConfig.Builder ramDiskId(String ramDiskId)
Sets the value ofLaunchTemplateConfig.getRamDiskId()- Parameters:
ramDiskId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#ram_disk_id LaunchTemplate#ram_disk_id}.- Returns:
this
-
securityGroupNames
@Stability(Stable) public LaunchTemplateConfig.Builder securityGroupNames(List<String> securityGroupNames)
Sets the value ofLaunchTemplateConfig.getSecurityGroupNames()- Parameters:
securityGroupNames- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#security_group_names LaunchTemplate#security_group_names}.- Returns:
this
-
tags
@Stability(Stable) public LaunchTemplateConfig.Builder tags(Map<String,String> tags)
Sets the value ofLaunchTemplateConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#tags LaunchTemplate#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public LaunchTemplateConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofLaunchTemplateConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#tags_all LaunchTemplate#tags_all}.- Returns:
this
-
tagSpecifications
@Stability(Stable) public LaunchTemplateConfig.Builder tagSpecifications(com.hashicorp.cdktf.IResolvable tagSpecifications)
Sets the value ofLaunchTemplateConfig.getTagSpecifications()- Parameters:
tagSpecifications- tag_specifications block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#tag_specifications LaunchTemplate#tag_specifications}- Returns:
this
-
tagSpecifications
@Stability(Stable) public LaunchTemplateConfig.Builder tagSpecifications(List<? extends LaunchTemplateTagSpecifications> tagSpecifications)
Sets the value ofLaunchTemplateConfig.getTagSpecifications()- Parameters:
tagSpecifications- tag_specifications block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#tag_specifications LaunchTemplate#tag_specifications}- Returns:
this
-
updateDefaultVersion
@Stability(Stable) public LaunchTemplateConfig.Builder updateDefaultVersion(Boolean updateDefaultVersion)
Sets the value ofLaunchTemplateConfig.getUpdateDefaultVersion()- Parameters:
updateDefaultVersion- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#update_default_version LaunchTemplate#update_default_version}.- Returns:
this
-
updateDefaultVersion
@Stability(Stable) public LaunchTemplateConfig.Builder updateDefaultVersion(com.hashicorp.cdktf.IResolvable updateDefaultVersion)
Sets the value ofLaunchTemplateConfig.getUpdateDefaultVersion()- Parameters:
updateDefaultVersion- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#update_default_version LaunchTemplate#update_default_version}.- Returns:
this
-
userData
@Stability(Stable) public LaunchTemplateConfig.Builder userData(String userData)
Sets the value ofLaunchTemplateConfig.getUserData()- Parameters:
userData- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#user_data LaunchTemplate#user_data}.- Returns:
this
-
vpcSecurityGroupIds
@Stability(Stable) public LaunchTemplateConfig.Builder vpcSecurityGroupIds(List<String> vpcSecurityGroupIds)
Sets the value ofLaunchTemplateConfig.getVpcSecurityGroupIds()- Parameters:
vpcSecurityGroupIds- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#vpc_security_group_ids LaunchTemplate#vpc_security_group_ids}.- Returns:
this
-
connection
@Stability(Experimental) public LaunchTemplateConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public LaunchTemplateConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public LaunchTemplateConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public LaunchTemplateConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public LaunchTemplateConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public LaunchTemplateConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public LaunchTemplateConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public LaunchTemplateConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public LaunchTemplateConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public LaunchTemplateConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LaunchTemplateConfig>- Returns:
- a new instance of
LaunchTemplateConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-