Package com.pulumi.aws.ec2.inputs
Class LaunchTemplateState.Builder
- java.lang.Object
-
- com.pulumi.aws.ec2.inputs.LaunchTemplateState.Builder
-
- Enclosing class:
- LaunchTemplateState
public static final class LaunchTemplateState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(LaunchTemplateState defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(LaunchTemplateState defaults)
-
-
Method Detail
-
arn
public LaunchTemplateState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn- ARN of the launch template.- Returns:
- builder
-
arn
public LaunchTemplateState.Builder arn(java.lang.String arn)
- Parameters:
arn- ARN of the launch template.- Returns:
- builder
-
blockDeviceMappings
public LaunchTemplateState.Builder blockDeviceMappings(@Nullable com.pulumi.core.Output<java.util.List<LaunchTemplateBlockDeviceMappingArgs>> blockDeviceMappings)
- Parameters:
blockDeviceMappings- Specify volumes to attach to the instance besides the volumes specified by the AMI. See Block Devices below for details.- Returns:
- builder
-
blockDeviceMappings
public LaunchTemplateState.Builder blockDeviceMappings(java.util.List<LaunchTemplateBlockDeviceMappingArgs> blockDeviceMappings)
- Parameters:
blockDeviceMappings- Specify volumes to attach to the instance besides the volumes specified by the AMI. See Block Devices below for details.- Returns:
- builder
-
blockDeviceMappings
public LaunchTemplateState.Builder blockDeviceMappings(LaunchTemplateBlockDeviceMappingArgs... blockDeviceMappings)
- Parameters:
blockDeviceMappings- Specify volumes to attach to the instance besides the volumes specified by the AMI. See Block Devices below for details.- Returns:
- builder
-
capacityReservationSpecification
public LaunchTemplateState.Builder capacityReservationSpecification(@Nullable com.pulumi.core.Output<LaunchTemplateCapacityReservationSpecificationArgs> capacityReservationSpecification)
- Parameters:
capacityReservationSpecification- Targeting for EC2 capacity reservations. See Capacity Reservation Specification below for more details.- Returns:
- builder
-
capacityReservationSpecification
public LaunchTemplateState.Builder capacityReservationSpecification(LaunchTemplateCapacityReservationSpecificationArgs capacityReservationSpecification)
- Parameters:
capacityReservationSpecification- Targeting for EC2 capacity reservations. See Capacity Reservation Specification below for more details.- Returns:
- builder
-
cpuOptions
public LaunchTemplateState.Builder cpuOptions(@Nullable com.pulumi.core.Output<LaunchTemplateCpuOptionsArgs> cpuOptions)
- Parameters:
cpuOptions- The CPU options for the instance. See CPU Options below for more details.- Returns:
- builder
-
cpuOptions
public LaunchTemplateState.Builder cpuOptions(LaunchTemplateCpuOptionsArgs cpuOptions)
- Parameters:
cpuOptions- The CPU options for the instance. See CPU Options below for more details.- Returns:
- builder
-
creditSpecification
public LaunchTemplateState.Builder creditSpecification(@Nullable com.pulumi.core.Output<LaunchTemplateCreditSpecificationArgs> creditSpecification)
- Parameters:
creditSpecification- Customize the credit specification of the instance. See Credit Specification below for more details.- Returns:
- builder
-
creditSpecification
public LaunchTemplateState.Builder creditSpecification(LaunchTemplateCreditSpecificationArgs creditSpecification)
- Parameters:
creditSpecification- Customize the credit specification of the instance. See Credit Specification below for more details.- Returns:
- builder
-
defaultVersion
public LaunchTemplateState.Builder defaultVersion(@Nullable com.pulumi.core.Output<java.lang.Integer> defaultVersion)
- Parameters:
defaultVersion- Default Version of the launch template.- Returns:
- builder
-
defaultVersion
public LaunchTemplateState.Builder defaultVersion(java.lang.Integer defaultVersion)
- Parameters:
defaultVersion- Default Version of the launch template.- Returns:
- builder
-
description
public LaunchTemplateState.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description- Description of the launch template version (`VersionDescription` in the [EC2 API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplateVersion.html)). Launch templates in AWS do not have a template-level description; whenever a change to this resource creates a new version, the new version is created with this description. To give each version a distinct description, update this argument in the same apply as the other changes.- Returns:
- builder
-
description
public LaunchTemplateState.Builder description(java.lang.String description)
- Parameters:
description- Description of the launch template version (`VersionDescription` in the [EC2 API](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplateVersion.html)). Launch templates in AWS do not have a template-level description; whenever a change to this resource creates a new version, the new version is created with this description. To give each version a distinct description, update this argument in the same apply as the other changes.- Returns:
- builder
-
disableApiStop
public LaunchTemplateState.Builder disableApiStop(@Nullable com.pulumi.core.Output<java.lang.Boolean> disableApiStop)
- Parameters:
disableApiStop- If true, enables [EC2 Instance Stop Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html).- Returns:
- builder
-
disableApiStop
public LaunchTemplateState.Builder disableApiStop(java.lang.Boolean disableApiStop)
- Parameters:
disableApiStop- If true, enables [EC2 Instance Stop Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html).- Returns:
- builder
-
disableApiTermination
public LaunchTemplateState.Builder disableApiTermination(@Nullable com.pulumi.core.Output<java.lang.Boolean> disableApiTermination)
- Parameters:
disableApiTermination- If `true`, enables [EC2 Instance Termination Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_ChangingDisableAPITermination.html)- Returns:
- builder
-
disableApiTermination
public LaunchTemplateState.Builder disableApiTermination(java.lang.Boolean disableApiTermination)
- Parameters:
disableApiTermination- If `true`, enables [EC2 Instance Termination Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_ChangingDisableAPITermination.html)- Returns:
- builder
-
ebsOptimized
public LaunchTemplateState.Builder ebsOptimized(@Nullable com.pulumi.core.Output<java.lang.String> ebsOptimized)
- Parameters:
ebsOptimized- If `true`, the launched EC2 instance will be EBS-optimized.- Returns:
- builder
-
ebsOptimized
public LaunchTemplateState.Builder ebsOptimized(java.lang.String ebsOptimized)
- Parameters:
ebsOptimized- If `true`, the launched EC2 instance will be EBS-optimized.- Returns:
- builder
-
enclaveOptions
public LaunchTemplateState.Builder enclaveOptions(@Nullable com.pulumi.core.Output<LaunchTemplateEnclaveOptionsArgs> enclaveOptions)
- Parameters:
enclaveOptions- Enable Nitro Enclaves on launched instances. See Enclave Options below for more details.- Returns:
- builder
-
enclaveOptions
public LaunchTemplateState.Builder enclaveOptions(LaunchTemplateEnclaveOptionsArgs enclaveOptions)
- Parameters:
enclaveOptions- Enable Nitro Enclaves on launched instances. See Enclave Options below for more details.- Returns:
- builder
-
hibernationOptions
public LaunchTemplateState.Builder hibernationOptions(@Nullable com.pulumi.core.Output<LaunchTemplateHibernationOptionsArgs> hibernationOptions)
- Parameters:
hibernationOptions- The hibernation options for the instance. See Hibernation Options below for more details.- Returns:
- builder
-
hibernationOptions
public LaunchTemplateState.Builder hibernationOptions(LaunchTemplateHibernationOptionsArgs hibernationOptions)
- Parameters:
hibernationOptions- The hibernation options for the instance. See Hibernation Options below for more details.- Returns:
- builder
-
iamInstanceProfile
public LaunchTemplateState.Builder iamInstanceProfile(@Nullable com.pulumi.core.Output<LaunchTemplateIamInstanceProfileArgs> iamInstanceProfile)
- Parameters:
iamInstanceProfile- The IAM Instance Profile to launch the instance with. See Instance Profile below for more details.- Returns:
- builder
-
iamInstanceProfile
public LaunchTemplateState.Builder iamInstanceProfile(LaunchTemplateIamInstanceProfileArgs iamInstanceProfile)
- Parameters:
iamInstanceProfile- The IAM Instance Profile to launch the instance with. See Instance Profile below for more details.- Returns:
- builder
-
imageId
public LaunchTemplateState.Builder imageId(@Nullable com.pulumi.core.Output<java.lang.String> imageId)
- Parameters:
imageId- The AMI from which to launch the instance or use a Systems Manager parameter convention e.g. `resolve:ssm:parameter-name`. See [docs](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id) for more details.- Returns:
- builder
-
imageId
public LaunchTemplateState.Builder imageId(java.lang.String imageId)
- Parameters:
imageId- The AMI from which to launch the instance or use a Systems Manager parameter convention e.g. `resolve:ssm:parameter-name`. See [docs](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id) for more details.- Returns:
- builder
-
instanceInitiatedShutdownBehavior
public LaunchTemplateState.Builder instanceInitiatedShutdownBehavior(@Nullable com.pulumi.core.Output<java.lang.String> instanceInitiatedShutdownBehavior)
- Parameters:
instanceInitiatedShutdownBehavior- Shutdown behavior for the instance. Can be `stop` or `terminate`. (Default: `stop`).- Returns:
- builder
-
instanceInitiatedShutdownBehavior
public LaunchTemplateState.Builder instanceInitiatedShutdownBehavior(java.lang.String instanceInitiatedShutdownBehavior)
- Parameters:
instanceInitiatedShutdownBehavior- Shutdown behavior for the instance. Can be `stop` or `terminate`. (Default: `stop`).- Returns:
- builder
-
instanceMarketOptions
public LaunchTemplateState.Builder instanceMarketOptions(@Nullable com.pulumi.core.Output<LaunchTemplateInstanceMarketOptionsArgs> instanceMarketOptions)
- Parameters:
instanceMarketOptions- The market (purchasing) option for the instance. See Market Options below for details.- Returns:
- builder
-
instanceMarketOptions
public LaunchTemplateState.Builder instanceMarketOptions(LaunchTemplateInstanceMarketOptionsArgs instanceMarketOptions)
- Parameters:
instanceMarketOptions- The market (purchasing) option for the instance. See Market Options below for details.- Returns:
- builder
-
instanceRequirements
public LaunchTemplateState.Builder instanceRequirements(@Nullable com.pulumi.core.Output<LaunchTemplateInstanceRequirementsArgs> instanceRequirements)
- Parameters:
instanceRequirements- The attribute requirements for the type of instance. If present then `instanceType` cannot be present.- Returns:
- builder
-
instanceRequirements
public LaunchTemplateState.Builder instanceRequirements(LaunchTemplateInstanceRequirementsArgs instanceRequirements)
- Parameters:
instanceRequirements- The attribute requirements for the type of instance. If present then `instanceType` cannot be present.- Returns:
- builder
-
instanceType
public LaunchTemplateState.Builder instanceType(@Nullable com.pulumi.core.Output<java.lang.String> instanceType)
- Parameters:
instanceType- The type of the instance. If present then `instanceRequirements` cannot be present.- Returns:
- builder
-
instanceType
public LaunchTemplateState.Builder instanceType(java.lang.String instanceType)
- Parameters:
instanceType- The type of the instance. If present then `instanceRequirements` cannot be present.- Returns:
- builder
-
kernelId
public LaunchTemplateState.Builder kernelId(@Nullable com.pulumi.core.Output<java.lang.String> kernelId)
- Parameters:
kernelId- The kernel ID.- Returns:
- builder
-
kernelId
public LaunchTemplateState.Builder kernelId(java.lang.String kernelId)
- Parameters:
kernelId- The kernel ID.- Returns:
- builder
-
keyName
public LaunchTemplateState.Builder keyName(@Nullable com.pulumi.core.Output<java.lang.String> keyName)
- Parameters:
keyName- The key name to use for the instance.- Returns:
- builder
-
keyName
public LaunchTemplateState.Builder keyName(java.lang.String keyName)
- Parameters:
keyName- The key name to use for the instance.- Returns:
- builder
-
latestVersion
public LaunchTemplateState.Builder latestVersion(@Nullable com.pulumi.core.Output<java.lang.Integer> latestVersion)
- Parameters:
latestVersion- The latest version of the launch template.- Returns:
- builder
-
latestVersion
public LaunchTemplateState.Builder latestVersion(java.lang.Integer latestVersion)
- Parameters:
latestVersion- The latest version of the launch template.- Returns:
- builder
-
licenseSpecifications
public LaunchTemplateState.Builder licenseSpecifications(@Nullable com.pulumi.core.Output<java.util.List<LaunchTemplateLicenseSpecificationArgs>> licenseSpecifications)
- Parameters:
licenseSpecifications- A list of license specifications to associate with. See License Specification below for more details.- Returns:
- builder
-
licenseSpecifications
public LaunchTemplateState.Builder licenseSpecifications(java.util.List<LaunchTemplateLicenseSpecificationArgs> licenseSpecifications)
- Parameters:
licenseSpecifications- A list of license specifications to associate with. See License Specification below for more details.- Returns:
- builder
-
licenseSpecifications
public LaunchTemplateState.Builder licenseSpecifications(LaunchTemplateLicenseSpecificationArgs... licenseSpecifications)
- Parameters:
licenseSpecifications- A list of license specifications to associate with. See License Specification below for more details.- Returns:
- builder
-
maintenanceOptions
public LaunchTemplateState.Builder maintenanceOptions(@Nullable com.pulumi.core.Output<LaunchTemplateMaintenanceOptionsArgs> maintenanceOptions)
- Parameters:
maintenanceOptions- The maintenance options for the instance. See Maintenance Options below for more details.- Returns:
- builder
-
maintenanceOptions
public LaunchTemplateState.Builder maintenanceOptions(LaunchTemplateMaintenanceOptionsArgs maintenanceOptions)
- Parameters:
maintenanceOptions- The maintenance options for the instance. See Maintenance Options below for more details.- Returns:
- builder
-
metadataOptions
public LaunchTemplateState.Builder metadataOptions(@Nullable com.pulumi.core.Output<LaunchTemplateMetadataOptionsArgs> metadataOptions)
- Parameters:
metadataOptions- Customize the metadata options for the instance. See Metadata Options below for more details.- Returns:
- builder
-
metadataOptions
public LaunchTemplateState.Builder metadataOptions(LaunchTemplateMetadataOptionsArgs metadataOptions)
- Parameters:
metadataOptions- Customize the metadata options for the instance. See Metadata Options below for more details.- Returns:
- builder
-
monitoring
public LaunchTemplateState.Builder monitoring(@Nullable com.pulumi.core.Output<LaunchTemplateMonitoringArgs> monitoring)
- Parameters:
monitoring- The monitoring option for the instance. See Monitoring below for more details.- Returns:
- builder
-
monitoring
public LaunchTemplateState.Builder monitoring(LaunchTemplateMonitoringArgs monitoring)
- Parameters:
monitoring- The monitoring option for the instance. See Monitoring below for more details.- Returns:
- builder
-
name
public LaunchTemplateState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- The name of the launch template. If you leave this blank, the provider will auto-generate a unique name.- Returns:
- builder
-
name
public LaunchTemplateState.Builder name(java.lang.String name)
- Parameters:
name- The name of the launch template. If you leave this blank, the provider will auto-generate a unique name.- Returns:
- builder
-
namePrefix
public LaunchTemplateState.Builder namePrefix(@Nullable com.pulumi.core.Output<java.lang.String> namePrefix)
- Parameters:
namePrefix- Creates a unique name beginning with the specified prefix. Conflicts with `name`.- Returns:
- builder
-
namePrefix
public LaunchTemplateState.Builder namePrefix(java.lang.String namePrefix)
- Parameters:
namePrefix- Creates a unique name beginning with the specified prefix. Conflicts with `name`.- Returns:
- builder
-
networkInterfaces
public LaunchTemplateState.Builder networkInterfaces(@Nullable com.pulumi.core.Output<java.util.List<LaunchTemplateNetworkInterfaceArgs>> networkInterfaces)
- Parameters:
networkInterfaces- Customize network interfaces to be attached at instance boot time. See Network Interfaces below for more details.- Returns:
- builder
-
networkInterfaces
public LaunchTemplateState.Builder networkInterfaces(java.util.List<LaunchTemplateNetworkInterfaceArgs> networkInterfaces)
- Parameters:
networkInterfaces- Customize network interfaces to be attached at instance boot time. See Network Interfaces below for more details.- Returns:
- builder
-
networkInterfaces
public LaunchTemplateState.Builder networkInterfaces(LaunchTemplateNetworkInterfaceArgs... networkInterfaces)
- Parameters:
networkInterfaces- Customize network interfaces to be attached at instance boot time. See Network Interfaces below for more details.- Returns:
- builder
-
networkPerformanceOptions
public LaunchTemplateState.Builder networkPerformanceOptions(@Nullable com.pulumi.core.Output<LaunchTemplateNetworkPerformanceOptionsArgs> networkPerformanceOptions)
-
networkPerformanceOptions
public LaunchTemplateState.Builder networkPerformanceOptions(LaunchTemplateNetworkPerformanceOptionsArgs networkPerformanceOptions)
-
placement
public LaunchTemplateState.Builder placement(@Nullable com.pulumi.core.Output<LaunchTemplatePlacementArgs> placement)
- Parameters:
placement- The placement of the instance. See Placement below for more details.- Returns:
- builder
-
placement
public LaunchTemplateState.Builder placement(LaunchTemplatePlacementArgs placement)
- Parameters:
placement- The placement of the instance. See Placement below for more details.- Returns:
- builder
-
privateDnsNameOptions
public LaunchTemplateState.Builder privateDnsNameOptions(@Nullable com.pulumi.core.Output<LaunchTemplatePrivateDnsNameOptionsArgs> privateDnsNameOptions)
- Parameters:
privateDnsNameOptions- The options for the instance hostname. The default values are inherited from the subnet. See Private DNS Name Options below for more details.- Returns:
- builder
-
privateDnsNameOptions
public LaunchTemplateState.Builder privateDnsNameOptions(LaunchTemplatePrivateDnsNameOptionsArgs privateDnsNameOptions)
- Parameters:
privateDnsNameOptions- The options for the instance hostname. The default values are inherited from the subnet. See Private DNS Name Options below for more details.- Returns:
- builder
-
ramDiskId
public LaunchTemplateState.Builder ramDiskId(@Nullable com.pulumi.core.Output<java.lang.String> ramDiskId)
- Parameters:
ramDiskId- The ID of the RAM disk.- Returns:
- builder
-
ramDiskId
public LaunchTemplateState.Builder ramDiskId(java.lang.String ramDiskId)
- Parameters:
ramDiskId- The ID of the RAM disk.- Returns:
- builder
-
region
public LaunchTemplateState.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public LaunchTemplateState.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
secondaryInterfaces
public LaunchTemplateState.Builder secondaryInterfaces(@Nullable com.pulumi.core.Output<java.util.List<LaunchTemplateSecondaryInterfaceArgs>> secondaryInterfaces)
- Parameters:
secondaryInterfaces- Secondary interfaces to associate with instances launched from the template. See Secondary Interfaces below for more details.- Returns:
- builder
-
secondaryInterfaces
public LaunchTemplateState.Builder secondaryInterfaces(java.util.List<LaunchTemplateSecondaryInterfaceArgs> secondaryInterfaces)
- Parameters:
secondaryInterfaces- Secondary interfaces to associate with instances launched from the template. See Secondary Interfaces below for more details.- Returns:
- builder
-
secondaryInterfaces
public LaunchTemplateState.Builder secondaryInterfaces(LaunchTemplateSecondaryInterfaceArgs... secondaryInterfaces)
- Parameters:
secondaryInterfaces- Secondary interfaces to associate with instances launched from the template. See Secondary Interfaces below for more details.- Returns:
- builder
-
securityGroupNames
public LaunchTemplateState.Builder securityGroupNames(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> securityGroupNames)
- Parameters:
securityGroupNames- A list of security group names to associate with. If you are creating Instances in a VPC, use `vpcSecurityGroupIds` instead.- Returns:
- builder
-
securityGroupNames
public LaunchTemplateState.Builder securityGroupNames(java.util.List<java.lang.String> securityGroupNames)
- Parameters:
securityGroupNames- A list of security group names to associate with. If you are creating Instances in a VPC, use `vpcSecurityGroupIds` instead.- Returns:
- builder
-
securityGroupNames
public LaunchTemplateState.Builder securityGroupNames(java.lang.String... securityGroupNames)
- Parameters:
securityGroupNames- A list of security group names to associate with. If you are creating Instances in a VPC, use `vpcSecurityGroupIds` instead.- Returns:
- builder
-
tagSpecifications
public LaunchTemplateState.Builder tagSpecifications(@Nullable com.pulumi.core.Output<java.util.List<LaunchTemplateTagSpecificationArgs>> tagSpecifications)
- Parameters:
tagSpecifications- The tags to apply to the resources during launch. See Tag Specifications below for more details. Default tags are currently not propagated to ASG created resources so you may wish to inject your default tags into this variable against the relevant child resource types created.- Returns:
- builder
-
tagSpecifications
public LaunchTemplateState.Builder tagSpecifications(java.util.List<LaunchTemplateTagSpecificationArgs> tagSpecifications)
- Parameters:
tagSpecifications- The tags to apply to the resources during launch. See Tag Specifications below for more details. Default tags are currently not propagated to ASG created resources so you may wish to inject your default tags into this variable against the relevant child resource types created.- Returns:
- builder
-
tagSpecifications
public LaunchTemplateState.Builder tagSpecifications(LaunchTemplateTagSpecificationArgs... tagSpecifications)
- Parameters:
tagSpecifications- The tags to apply to the resources during launch. See Tag Specifications below for more details. Default tags are currently not propagated to ASG created resources so you may wish to inject your default tags into this variable against the relevant child resource types created.- Returns:
- builder
-
tags
public LaunchTemplateState.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- A map of tags to assign to the launch template. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public LaunchTemplateState.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- A map of tags to assign to the launch template. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tagsAll
public LaunchTemplateState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
- Parameters:
tagsAll- A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
tagsAll
public LaunchTemplateState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
- Parameters:
tagsAll- A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
updateDefaultVersion
public LaunchTemplateState.Builder updateDefaultVersion(@Nullable com.pulumi.core.Output<java.lang.Boolean> updateDefaultVersion)
- Parameters:
updateDefaultVersion- Whether to update Default Version each update. Conflicts with `defaultVersion`.- Returns:
- builder
-
updateDefaultVersion
public LaunchTemplateState.Builder updateDefaultVersion(java.lang.Boolean updateDefaultVersion)
- Parameters:
updateDefaultVersion- Whether to update Default Version each update. Conflicts with `defaultVersion`.- Returns:
- builder
-
userData
public LaunchTemplateState.Builder userData(@Nullable com.pulumi.core.Output<java.lang.String> userData)
- Parameters:
userData- The base64-encoded user data to provide when launching the instance.- Returns:
- builder
-
userData
public LaunchTemplateState.Builder userData(java.lang.String userData)
- Parameters:
userData- The base64-encoded user data to provide when launching the instance.- Returns:
- builder
-
vpcSecurityGroupIds
public LaunchTemplateState.Builder vpcSecurityGroupIds(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> vpcSecurityGroupIds)
- Parameters:
vpcSecurityGroupIds- A list of security group IDs to associate with. Conflicts with `network_interfaces.security_groups`- Returns:
- builder
-
vpcSecurityGroupIds
public LaunchTemplateState.Builder vpcSecurityGroupIds(java.util.List<java.lang.String> vpcSecurityGroupIds)
- Parameters:
vpcSecurityGroupIds- A list of security group IDs to associate with. Conflicts with `network_interfaces.security_groups`- Returns:
- builder
-
vpcSecurityGroupIds
public LaunchTemplateState.Builder vpcSecurityGroupIds(java.lang.String... vpcSecurityGroupIds)
- Parameters:
vpcSecurityGroupIds- A list of security group IDs to associate with. Conflicts with `network_interfaces.security_groups`- Returns:
- builder
-
build
public LaunchTemplateState build()
-
-