Package com.pulumi.alicloud.ecs.inputs
Class LaunchTemplateState.Builder
- java.lang.Object
-
- com.pulumi.alicloud.ecs.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
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description LaunchTemplateState.Builder
autoReleaseTime(com.pulumi.core.Output<java.lang.String> autoReleaseTime)
LaunchTemplateState.Builder
autoReleaseTime(java.lang.String autoReleaseTime)
LaunchTemplateState
build()
LaunchTemplateState.Builder
dataDisks(LaunchTemplateDataDiskArgs... dataDisks)
LaunchTemplateState.Builder
dataDisks(com.pulumi.core.Output<java.util.List<LaunchTemplateDataDiskArgs>> dataDisks)
LaunchTemplateState.Builder
dataDisks(java.util.List<LaunchTemplateDataDiskArgs> dataDisks)
LaunchTemplateState.Builder
deploymentSetId(com.pulumi.core.Output<java.lang.String> deploymentSetId)
LaunchTemplateState.Builder
deploymentSetId(java.lang.String deploymentSetId)
LaunchTemplateState.Builder
description(com.pulumi.core.Output<java.lang.String> description)
LaunchTemplateState.Builder
description(java.lang.String description)
LaunchTemplateState.Builder
enableVmOsConfig(com.pulumi.core.Output<java.lang.Boolean> enableVmOsConfig)
LaunchTemplateState.Builder
enableVmOsConfig(java.lang.Boolean enableVmOsConfig)
LaunchTemplateState.Builder
hostName(com.pulumi.core.Output<java.lang.String> hostName)
LaunchTemplateState.Builder
hostName(java.lang.String hostName)
LaunchTemplateState.Builder
imageId(com.pulumi.core.Output<java.lang.String> imageId)
LaunchTemplateState.Builder
imageId(java.lang.String imageId)
LaunchTemplateState.Builder
imageOwnerAlias(com.pulumi.core.Output<java.lang.String> imageOwnerAlias)
LaunchTemplateState.Builder
imageOwnerAlias(java.lang.String imageOwnerAlias)
LaunchTemplateState.Builder
instanceChargeType(com.pulumi.core.Output<java.lang.String> instanceChargeType)
LaunchTemplateState.Builder
instanceChargeType(java.lang.String instanceChargeType)
LaunchTemplateState.Builder
instanceName(com.pulumi.core.Output<java.lang.String> instanceName)
LaunchTemplateState.Builder
instanceName(java.lang.String instanceName)
LaunchTemplateState.Builder
instanceType(com.pulumi.core.Output<java.lang.String> instanceType)
LaunchTemplateState.Builder
instanceType(java.lang.String instanceType)
LaunchTemplateState.Builder
internetChargeType(com.pulumi.core.Output<java.lang.String> internetChargeType)
LaunchTemplateState.Builder
internetChargeType(java.lang.String internetChargeType)
LaunchTemplateState.Builder
internetMaxBandwidthIn(com.pulumi.core.Output<java.lang.Integer> internetMaxBandwidthIn)
LaunchTemplateState.Builder
internetMaxBandwidthIn(java.lang.Integer internetMaxBandwidthIn)
LaunchTemplateState.Builder
internetMaxBandwidthOut(com.pulumi.core.Output<java.lang.Integer> internetMaxBandwidthOut)
LaunchTemplateState.Builder
internetMaxBandwidthOut(java.lang.Integer internetMaxBandwidthOut)
LaunchTemplateState.Builder
ioOptimized(com.pulumi.core.Output<java.lang.String> ioOptimized)
LaunchTemplateState.Builder
ioOptimized(java.lang.String ioOptimized)
LaunchTemplateState.Builder
keyPairName(com.pulumi.core.Output<java.lang.String> keyPairName)
LaunchTemplateState.Builder
keyPairName(java.lang.String keyPairName)
LaunchTemplateState.Builder
launchTemplateName(com.pulumi.core.Output<java.lang.String> launchTemplateName)
LaunchTemplateState.Builder
launchTemplateName(java.lang.String launchTemplateName)
LaunchTemplateState.Builder
name(com.pulumi.core.Output<java.lang.String> name)
Deprecated.Field 'name' has been deprecated from provider version 1.120.0.LaunchTemplateState.Builder
name(java.lang.String name)
Deprecated.Field 'name' has been deprecated from provider version 1.120.0.LaunchTemplateState.Builder
networkInterfaces(LaunchTemplateNetworkInterfacesArgs networkInterfaces)
LaunchTemplateState.Builder
networkInterfaces(com.pulumi.core.Output<LaunchTemplateNetworkInterfacesArgs> networkInterfaces)
LaunchTemplateState.Builder
networkType(com.pulumi.core.Output<java.lang.String> networkType)
LaunchTemplateState.Builder
networkType(java.lang.String networkType)
LaunchTemplateState.Builder
passwordInherit(com.pulumi.core.Output<java.lang.Boolean> passwordInherit)
LaunchTemplateState.Builder
passwordInherit(java.lang.Boolean passwordInherit)
LaunchTemplateState.Builder
period(com.pulumi.core.Output<java.lang.Integer> period)
LaunchTemplateState.Builder
period(java.lang.Integer period)
LaunchTemplateState.Builder
privateIpAddress(com.pulumi.core.Output<java.lang.String> privateIpAddress)
LaunchTemplateState.Builder
privateIpAddress(java.lang.String privateIpAddress)
LaunchTemplateState.Builder
ramRoleName(com.pulumi.core.Output<java.lang.String> ramRoleName)
LaunchTemplateState.Builder
ramRoleName(java.lang.String ramRoleName)
LaunchTemplateState.Builder
resourceGroupId(com.pulumi.core.Output<java.lang.String> resourceGroupId)
LaunchTemplateState.Builder
resourceGroupId(java.lang.String resourceGroupId)
LaunchTemplateState.Builder
securityEnhancementStrategy(com.pulumi.core.Output<java.lang.String> securityEnhancementStrategy)
LaunchTemplateState.Builder
securityEnhancementStrategy(java.lang.String securityEnhancementStrategy)
LaunchTemplateState.Builder
securityGroupId(com.pulumi.core.Output<java.lang.String> securityGroupId)
LaunchTemplateState.Builder
securityGroupId(java.lang.String securityGroupId)
LaunchTemplateState.Builder
securityGroupIds(com.pulumi.core.Output<java.util.List<java.lang.String>> securityGroupIds)
LaunchTemplateState.Builder
securityGroupIds(java.lang.String... securityGroupIds)
LaunchTemplateState.Builder
securityGroupIds(java.util.List<java.lang.String> securityGroupIds)
LaunchTemplateState.Builder
spotDuration(com.pulumi.core.Output<java.lang.String> spotDuration)
LaunchTemplateState.Builder
spotDuration(java.lang.String spotDuration)
LaunchTemplateState.Builder
spotPriceLimit(com.pulumi.core.Output<java.lang.Double> spotPriceLimit)
LaunchTemplateState.Builder
spotPriceLimit(java.lang.Double spotPriceLimit)
LaunchTemplateState.Builder
spotStrategy(com.pulumi.core.Output<java.lang.String> spotStrategy)
LaunchTemplateState.Builder
spotStrategy(java.lang.String spotStrategy)
LaunchTemplateState.Builder
systemDisk(LaunchTemplateSystemDiskArgs systemDisk)
LaunchTemplateState.Builder
systemDisk(com.pulumi.core.Output<LaunchTemplateSystemDiskArgs> systemDisk)
LaunchTemplateState.Builder
systemDiskCategory(com.pulumi.core.Output<java.lang.String> systemDiskCategory)
Deprecated.Field 'system_disk_category' has been deprecated from provider version 1.120.0.LaunchTemplateState.Builder
systemDiskCategory(java.lang.String systemDiskCategory)
Deprecated.Field 'system_disk_category' has been deprecated from provider version 1.120.0.LaunchTemplateState.Builder
systemDiskDescription(com.pulumi.core.Output<java.lang.String> systemDiskDescription)
Deprecated.Field 'system_disk_description' has been deprecated from provider version 1.120.0.LaunchTemplateState.Builder
systemDiskDescription(java.lang.String systemDiskDescription)
Deprecated.Field 'system_disk_description' has been deprecated from provider version 1.120.0.LaunchTemplateState.Builder
systemDiskName(com.pulumi.core.Output<java.lang.String> systemDiskName)
Deprecated.Field 'system_disk_name' has been deprecated from provider version 1.120.0.LaunchTemplateState.Builder
systemDiskName(java.lang.String systemDiskName)
Deprecated.Field 'system_disk_name' has been deprecated from provider version 1.120.0.LaunchTemplateState.Builder
systemDiskSize(com.pulumi.core.Output<java.lang.Integer> systemDiskSize)
Deprecated.Field 'system_disk_size' has been deprecated from provider version 1.120.0.LaunchTemplateState.Builder
systemDiskSize(java.lang.Integer systemDiskSize)
Deprecated.Field 'system_disk_size' has been deprecated from provider version 1.120.0.LaunchTemplateState.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>> tags)
LaunchTemplateState.Builder
tags(java.util.Map<java.lang.String,java.lang.Object> tags)
LaunchTemplateState.Builder
templateResourceGroupId(com.pulumi.core.Output<java.lang.String> templateResourceGroupId)
LaunchTemplateState.Builder
templateResourceGroupId(java.lang.String templateResourceGroupId)
LaunchTemplateState.Builder
templateTags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>> templateTags)
LaunchTemplateState.Builder
templateTags(java.util.Map<java.lang.String,java.lang.Object> templateTags)
LaunchTemplateState.Builder
userdata(com.pulumi.core.Output<java.lang.String> userdata)
Deprecated.Field 'userdata' has been deprecated from provider version 1.120.0.LaunchTemplateState.Builder
userdata(java.lang.String userdata)
Deprecated.Field 'userdata' has been deprecated from provider version 1.120.0.LaunchTemplateState.Builder
userData(com.pulumi.core.Output<java.lang.String> userData)
LaunchTemplateState.Builder
userData(java.lang.String userData)
LaunchTemplateState.Builder
versionDescription(com.pulumi.core.Output<java.lang.String> versionDescription)
LaunchTemplateState.Builder
versionDescription(java.lang.String versionDescription)
LaunchTemplateState.Builder
vpcId(com.pulumi.core.Output<java.lang.String> vpcId)
LaunchTemplateState.Builder
vpcId(java.lang.String vpcId)
LaunchTemplateState.Builder
vswitchId(com.pulumi.core.Output<java.lang.String> vswitchId)
LaunchTemplateState.Builder
vswitchId(java.lang.String vswitchId)
LaunchTemplateState.Builder
zoneId(com.pulumi.core.Output<java.lang.String> zoneId)
LaunchTemplateState.Builder
zoneId(java.lang.String zoneId)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(LaunchTemplateState defaults)
-
-
Method Detail
-
autoReleaseTime
public LaunchTemplateState.Builder autoReleaseTime(@Nullable com.pulumi.core.Output<java.lang.String> autoReleaseTime)
- Parameters:
autoReleaseTime
- Instance auto release time. The time is presented using the ISO8601 standard and in UTC time. The format is YYYY-MM-DDTHH:MM:SSZ.- Returns:
- builder
-
autoReleaseTime
public LaunchTemplateState.Builder autoReleaseTime(java.lang.String autoReleaseTime)
- Parameters:
autoReleaseTime
- Instance auto release time. The time is presented using the ISO8601 standard and in UTC time. The format is YYYY-MM-DDTHH:MM:SSZ.- Returns:
- builder
-
dataDisks
public LaunchTemplateState.Builder dataDisks(@Nullable com.pulumi.core.Output<java.util.List<LaunchTemplateDataDiskArgs>> dataDisks)
- Parameters:
dataDisks
- The list of data disks created with instance.- Returns:
- builder
-
dataDisks
public LaunchTemplateState.Builder dataDisks(java.util.List<LaunchTemplateDataDiskArgs> dataDisks)
- Parameters:
dataDisks
- The list of data disks created with instance.- Returns:
- builder
-
dataDisks
public LaunchTemplateState.Builder dataDisks(LaunchTemplateDataDiskArgs... dataDisks)
- Parameters:
dataDisks
- The list of data disks created with instance.- Returns:
- builder
-
deploymentSetId
public LaunchTemplateState.Builder deploymentSetId(@Nullable com.pulumi.core.Output<java.lang.String> deploymentSetId)
-
deploymentSetId
public LaunchTemplateState.Builder deploymentSetId(java.lang.String deploymentSetId)
-
description
public LaunchTemplateState.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description
- The description of the data disk.- Returns:
- builder
-
description
public LaunchTemplateState.Builder description(java.lang.String description)
- Parameters:
description
- The description of the data disk.- Returns:
- builder
-
enableVmOsConfig
public LaunchTemplateState.Builder enableVmOsConfig(@Nullable com.pulumi.core.Output<java.lang.Boolean> enableVmOsConfig)
-
enableVmOsConfig
public LaunchTemplateState.Builder enableVmOsConfig(java.lang.Boolean enableVmOsConfig)
-
hostName
public LaunchTemplateState.Builder hostName(@Nullable com.pulumi.core.Output<java.lang.String> hostName)
- Parameters:
hostName
- Instance host name.It cannot start or end with a period (.) or a hyphen (-) and it cannot have two or more consecutive periods (.) or hyphens (-).For Windows: The host name can be [2, 15] characters in length. It can contain A-Z, a-z, numbers, periods (.), and hyphens (-). It cannot only contain numbers. For other operating systems: The host name can be [2, 64] characters in length. It can be segments separated by periods (.). It can contain A-Z, a-z, numbers, and hyphens (-).- Returns:
- builder
-
hostName
public LaunchTemplateState.Builder hostName(java.lang.String hostName)
- Parameters:
hostName
- Instance host name.It cannot start or end with a period (.) or a hyphen (-) and it cannot have two or more consecutive periods (.) or hyphens (-).For Windows: The host name can be [2, 15] characters in length. It can contain A-Z, a-z, numbers, periods (.), and hyphens (-). It cannot only contain numbers. For other operating systems: The host name can be [2, 64] characters in length. It can be segments separated by periods (.). It can contain A-Z, a-z, numbers, and hyphens (-).- Returns:
- builder
-
imageId
public LaunchTemplateState.Builder imageId(@Nullable com.pulumi.core.Output<java.lang.String> imageId)
- Parameters:
imageId
- Image ID.- Returns:
- builder
-
imageId
public LaunchTemplateState.Builder imageId(java.lang.String imageId)
- Parameters:
imageId
- Image ID.- Returns:
- builder
-
imageOwnerAlias
public LaunchTemplateState.Builder imageOwnerAlias(@Nullable com.pulumi.core.Output<java.lang.String> imageOwnerAlias)
-
imageOwnerAlias
public LaunchTemplateState.Builder imageOwnerAlias(java.lang.String imageOwnerAlias)
-
instanceChargeType
public LaunchTemplateState.Builder instanceChargeType(@Nullable com.pulumi.core.Output<java.lang.String> instanceChargeType)
- Parameters:
instanceChargeType
- Billing methods. Optional values: - PrePaid: Monthly, or annual subscription. Make sure that your registered credit card is invalid or you have insufficient balance in your PayPal account. Otherwise, InvalidPayMethod error may occur. - PostPaid: Pay-As-You-Go. Default value: PostPaid.- Returns:
- builder
-
instanceChargeType
public LaunchTemplateState.Builder instanceChargeType(java.lang.String instanceChargeType)
- Parameters:
instanceChargeType
- Billing methods. Optional values: - PrePaid: Monthly, or annual subscription. Make sure that your registered credit card is invalid or you have insufficient balance in your PayPal account. Otherwise, InvalidPayMethod error may occur. - PostPaid: Pay-As-You-Go. Default value: PostPaid.- Returns:
- builder
-
instanceName
public LaunchTemplateState.Builder instanceName(@Nullable com.pulumi.core.Output<java.lang.String> instanceName)
- Parameters:
instanceName
- The name of the instance. The name is a string of 2 to 128 characters. It must begin with an English or a Chinese character. It can contain A-Z, a-z, Chinese characters, numbers, periods (.), colons (:), underscores (_), and hyphens (-).- Returns:
- builder
-
instanceName
public LaunchTemplateState.Builder instanceName(java.lang.String instanceName)
- Parameters:
instanceName
- The name of the instance. The name is a string of 2 to 128 characters. It must begin with an English or a Chinese character. It can contain A-Z, a-z, Chinese characters, numbers, periods (.), colons (:), underscores (_), and hyphens (-).- Returns:
- builder
-
instanceType
public LaunchTemplateState.Builder instanceType(@Nullable com.pulumi.core.Output<java.lang.String> instanceType)
- Parameters:
instanceType
- Instance type. For more information, call resource_alicloud_instances to obtain the latest instance type list.- Returns:
- builder
-
instanceType
public LaunchTemplateState.Builder instanceType(java.lang.String instanceType)
- Parameters:
instanceType
- Instance type. For more information, call resource_alicloud_instances to obtain the latest instance type list.- Returns:
- builder
-
internetChargeType
public LaunchTemplateState.Builder internetChargeType(@Nullable com.pulumi.core.Output<java.lang.String> internetChargeType)
- Parameters:
internetChargeType
- Internet bandwidth billing method. Optional values: `PayByTraffic` | `PayByBandwidth`.- Returns:
- builder
-
internetChargeType
public LaunchTemplateState.Builder internetChargeType(java.lang.String internetChargeType)
- Parameters:
internetChargeType
- Internet bandwidth billing method. Optional values: `PayByTraffic` | `PayByBandwidth`.- Returns:
- builder
-
internetMaxBandwidthIn
public LaunchTemplateState.Builder internetMaxBandwidthIn(@Nullable com.pulumi.core.Output<java.lang.Integer> internetMaxBandwidthIn)
- Parameters:
internetMaxBandwidthIn
- The maximum inbound bandwidth from the Internet network, measured in Mbit/s. Value range: [1, 200].- Returns:
- builder
-
internetMaxBandwidthIn
public LaunchTemplateState.Builder internetMaxBandwidthIn(java.lang.Integer internetMaxBandwidthIn)
- Parameters:
internetMaxBandwidthIn
- The maximum inbound bandwidth from the Internet network, measured in Mbit/s. Value range: [1, 200].- Returns:
- builder
-
internetMaxBandwidthOut
public LaunchTemplateState.Builder internetMaxBandwidthOut(@Nullable com.pulumi.core.Output<java.lang.Integer> internetMaxBandwidthOut)
- Parameters:
internetMaxBandwidthOut
- Maximum outbound bandwidth from the Internet, its unit of measurement is Mbit/s. Value range: [0, 100].- Returns:
- builder
-
internetMaxBandwidthOut
public LaunchTemplateState.Builder internetMaxBandwidthOut(java.lang.Integer internetMaxBandwidthOut)
- Parameters:
internetMaxBandwidthOut
- Maximum outbound bandwidth from the Internet, its unit of measurement is Mbit/s. Value range: [0, 100].- Returns:
- builder
-
ioOptimized
public LaunchTemplateState.Builder ioOptimized(@Nullable com.pulumi.core.Output<java.lang.String> ioOptimized)
- Parameters:
ioOptimized
- Whether it is an I/O-optimized instance or not. Optional values: - none - optimized- Returns:
- builder
-
ioOptimized
public LaunchTemplateState.Builder ioOptimized(java.lang.String ioOptimized)
- Parameters:
ioOptimized
- Whether it is an I/O-optimized instance or not. Optional values: - none - optimized- Returns:
- builder
-
keyPairName
public LaunchTemplateState.Builder keyPairName(@Nullable com.pulumi.core.Output<java.lang.String> keyPairName)
- Parameters:
keyPairName
- The name of the key pair. - Ignore this parameter for Windows instances. It is null by default. Even if you enter this parameter, only the Password content is used. - The password logon method for Linux instances is set to forbidden upon initialization.- Returns:
- builder
-
keyPairName
public LaunchTemplateState.Builder keyPairName(java.lang.String keyPairName)
- Parameters:
keyPairName
- The name of the key pair. - Ignore this parameter for Windows instances. It is null by default. Even if you enter this parameter, only the Password content is used. - The password logon method for Linux instances is set to forbidden upon initialization.- Returns:
- builder
-
launchTemplateName
public LaunchTemplateState.Builder launchTemplateName(@Nullable com.pulumi.core.Output<java.lang.String> launchTemplateName)
-
launchTemplateName
public LaunchTemplateState.Builder launchTemplateName(java.lang.String launchTemplateName)
-
name
@Deprecated public LaunchTemplateState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
Deprecated.Field 'name' has been deprecated from provider version 1.120.0. New field 'launch_template_name' instead.- Parameters:
name
- The name of the data disk.- Returns:
- builder
-
name
@Deprecated public LaunchTemplateState.Builder name(java.lang.String name)
Deprecated.Field 'name' has been deprecated from provider version 1.120.0. New field 'launch_template_name' instead.- Parameters:
name
- The name of the data disk.- Returns:
- builder
-
networkInterfaces
public LaunchTemplateState.Builder networkInterfaces(@Nullable com.pulumi.core.Output<LaunchTemplateNetworkInterfacesArgs> networkInterfaces)
- Parameters:
networkInterfaces
- The list of network interfaces created with instance.- Returns:
- builder
-
networkInterfaces
public LaunchTemplateState.Builder networkInterfaces(LaunchTemplateNetworkInterfacesArgs networkInterfaces)
- Parameters:
networkInterfaces
- The list of network interfaces created with instance.- Returns:
- builder
-
networkType
public LaunchTemplateState.Builder networkType(@Nullable com.pulumi.core.Output<java.lang.String> networkType)
- Parameters:
networkType
- Network type of the instance. Value options: `classic` | `vpc`.- Returns:
- builder
-
networkType
public LaunchTemplateState.Builder networkType(java.lang.String networkType)
- Parameters:
networkType
- Network type of the instance. Value options: `classic` | `vpc`.- Returns:
- builder
-
passwordInherit
public LaunchTemplateState.Builder passwordInherit(@Nullable com.pulumi.core.Output<java.lang.Boolean> passwordInherit)
-
passwordInherit
public LaunchTemplateState.Builder passwordInherit(java.lang.Boolean passwordInherit)
-
period
public LaunchTemplateState.Builder period(@Nullable com.pulumi.core.Output<java.lang.Integer> period)
-
period
public LaunchTemplateState.Builder period(java.lang.Integer period)
-
privateIpAddress
public LaunchTemplateState.Builder privateIpAddress(@Nullable com.pulumi.core.Output<java.lang.String> privateIpAddress)
-
privateIpAddress
public LaunchTemplateState.Builder privateIpAddress(java.lang.String privateIpAddress)
-
ramRoleName
public LaunchTemplateState.Builder ramRoleName(@Nullable com.pulumi.core.Output<java.lang.String> ramRoleName)
- Parameters:
ramRoleName
- The RAM role name of the instance. You can use the RAM API ListRoles to query instance RAM role names.- Returns:
- builder
-
ramRoleName
public LaunchTemplateState.Builder ramRoleName(java.lang.String ramRoleName)
- Parameters:
ramRoleName
- The RAM role name of the instance. You can use the RAM API ListRoles to query instance RAM role names.- Returns:
- builder
-
resourceGroupId
public LaunchTemplateState.Builder resourceGroupId(@Nullable com.pulumi.core.Output<java.lang.String> resourceGroupId)
-
resourceGroupId
public LaunchTemplateState.Builder resourceGroupId(java.lang.String resourceGroupId)
-
securityEnhancementStrategy
public LaunchTemplateState.Builder securityEnhancementStrategy(@Nullable com.pulumi.core.Output<java.lang.String> securityEnhancementStrategy)
- Parameters:
securityEnhancementStrategy
- Whether or not to activate the security enhancement feature and install network security software free of charge. Optional values: Active | Deactive.- Returns:
- builder
-
securityEnhancementStrategy
public LaunchTemplateState.Builder securityEnhancementStrategy(java.lang.String securityEnhancementStrategy)
- Parameters:
securityEnhancementStrategy
- Whether or not to activate the security enhancement feature and install network security software free of charge. Optional values: Active | Deactive.- Returns:
- builder
-
securityGroupId
public LaunchTemplateState.Builder securityGroupId(@Nullable com.pulumi.core.Output<java.lang.String> securityGroupId)
- Parameters:
securityGroupId
- The security group ID must be one in the same VPC.- Returns:
- builder
-
securityGroupId
public LaunchTemplateState.Builder securityGroupId(java.lang.String securityGroupId)
- Parameters:
securityGroupId
- The security group ID must be one in the same VPC.- Returns:
- builder
-
securityGroupIds
public LaunchTemplateState.Builder securityGroupIds(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> securityGroupIds)
-
securityGroupIds
public LaunchTemplateState.Builder securityGroupIds(java.util.List<java.lang.String> securityGroupIds)
-
securityGroupIds
public LaunchTemplateState.Builder securityGroupIds(java.lang.String... securityGroupIds)
-
spotDuration
public LaunchTemplateState.Builder spotDuration(@Nullable com.pulumi.core.Output<java.lang.String> spotDuration)
-
spotDuration
public LaunchTemplateState.Builder spotDuration(java.lang.String spotDuration)
-
spotPriceLimit
public LaunchTemplateState.Builder spotPriceLimit(@Nullable com.pulumi.core.Output<java.lang.Double> spotPriceLimit)
- Parameters:
spotPriceLimit
- Sets the maximum hourly instance price. Supports up to three decimal places.- Returns:
- builder
-
spotPriceLimit
public LaunchTemplateState.Builder spotPriceLimit(java.lang.Double spotPriceLimit)
- Parameters:
spotPriceLimit
- Sets the maximum hourly instance price. Supports up to three decimal places.- Returns:
- builder
-
spotStrategy
public LaunchTemplateState.Builder spotStrategy(@Nullable com.pulumi.core.Output<java.lang.String> spotStrategy)
- Parameters:
spotStrategy
- The spot strategy for a Pay-As-You-Go instance. This parameter is valid and required only when InstanceChargeType is set to PostPaid. Value range: - NoSpot: Normal Pay-As-You-Go instance. - SpotWithPriceLimit: Sets the maximum price for a spot instance. - SpotAsPriceGo: The system automatically calculates the price. The maximum value is the Pay-As-You-Go price.- Returns:
- builder
-
spotStrategy
public LaunchTemplateState.Builder spotStrategy(java.lang.String spotStrategy)
- Parameters:
spotStrategy
- The spot strategy for a Pay-As-You-Go instance. This parameter is valid and required only when InstanceChargeType is set to PostPaid. Value range: - NoSpot: Normal Pay-As-You-Go instance. - SpotWithPriceLimit: Sets the maximum price for a spot instance. - SpotAsPriceGo: The system automatically calculates the price. The maximum value is the Pay-As-You-Go price.- Returns:
- builder
-
systemDisk
public LaunchTemplateState.Builder systemDisk(@Nullable com.pulumi.core.Output<LaunchTemplateSystemDiskArgs> systemDisk)
-
systemDisk
public LaunchTemplateState.Builder systemDisk(LaunchTemplateSystemDiskArgs systemDisk)
-
systemDiskCategory
@Deprecated public LaunchTemplateState.Builder systemDiskCategory(@Nullable com.pulumi.core.Output<java.lang.String> systemDiskCategory)
Deprecated.Field 'system_disk_category' has been deprecated from provider version 1.120.0. New field 'system_disk' instead.- Parameters:
systemDiskCategory
- The category of the system disk. System disk type. Optional values: - cloud: Basic cloud disk. - cloud_efficiency: Ultra cloud disk. - cloud_ssd: SSD cloud Disks. - ephemeral_ssd: local SSD Disks - cloud_essd: ESSD cloud Disks.- Returns:
- builder
-
systemDiskCategory
@Deprecated public LaunchTemplateState.Builder systemDiskCategory(java.lang.String systemDiskCategory)
Deprecated.Field 'system_disk_category' has been deprecated from provider version 1.120.0. New field 'system_disk' instead.- Parameters:
systemDiskCategory
- The category of the system disk. System disk type. Optional values: - cloud: Basic cloud disk. - cloud_efficiency: Ultra cloud disk. - cloud_ssd: SSD cloud Disks. - ephemeral_ssd: local SSD Disks - cloud_essd: ESSD cloud Disks.- Returns:
- builder
-
systemDiskDescription
@Deprecated public LaunchTemplateState.Builder systemDiskDescription(@Nullable com.pulumi.core.Output<java.lang.String> systemDiskDescription)
Deprecated.Field 'system_disk_description' has been deprecated from provider version 1.120.0. New field 'system_disk' instead.- Parameters:
systemDiskDescription
- System disk description. It cannot begin with http:// or https://.- Returns:
- builder
-
systemDiskDescription
@Deprecated public LaunchTemplateState.Builder systemDiskDescription(java.lang.String systemDiskDescription)
Deprecated.Field 'system_disk_description' has been deprecated from provider version 1.120.0. New field 'system_disk' instead.- Parameters:
systemDiskDescription
- System disk description. It cannot begin with http:// or https://.- Returns:
- builder
-
systemDiskName
@Deprecated public LaunchTemplateState.Builder systemDiskName(@Nullable com.pulumi.core.Output<java.lang.String> systemDiskName)
Deprecated.Field 'system_disk_name' has been deprecated from provider version 1.120.0. New field 'system_disk' instead.- Parameters:
systemDiskName
- System disk name. The name is a string of 2 to 128 characters. It must begin with an English or a Chinese character. It can contain A-Z, a-z, Chinese characters, numbers, periods (.), colons (:), underscores (_), and hyphens (-).- Returns:
- builder
-
systemDiskName
@Deprecated public LaunchTemplateState.Builder systemDiskName(java.lang.String systemDiskName)
Deprecated.Field 'system_disk_name' has been deprecated from provider version 1.120.0. New field 'system_disk' instead.- Parameters:
systemDiskName
- System disk name. The name is a string of 2 to 128 characters. It must begin with an English or a Chinese character. It can contain A-Z, a-z, Chinese characters, numbers, periods (.), colons (:), underscores (_), and hyphens (-).- Returns:
- builder
-
systemDiskSize
@Deprecated public LaunchTemplateState.Builder systemDiskSize(@Nullable com.pulumi.core.Output<java.lang.Integer> systemDiskSize)
Deprecated.Field 'system_disk_size' has been deprecated from provider version 1.120.0. New field 'system_disk' instead.- Parameters:
systemDiskSize
- Size of the system disk, measured in GB. Value range: [20, 500].- Returns:
- builder
-
systemDiskSize
@Deprecated public LaunchTemplateState.Builder systemDiskSize(java.lang.Integer systemDiskSize)
Deprecated.Field 'system_disk_size' has been deprecated from provider version 1.120.0. New field 'system_disk' instead.- Parameters:
systemDiskSize
- Size of the system disk, measured in GB. Value range: [20, 500].- Returns:
- builder
-
tags
public LaunchTemplateState.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>> tags)
- Parameters:
tags
- A mapping of tags to assign to the resource. - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string. - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.- Returns:
- builder
-
tags
public LaunchTemplateState.Builder tags(java.util.Map<java.lang.String,java.lang.Object> tags)
- Parameters:
tags
- A mapping of tags to assign to the resource. - Key: It can be up to 64 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It cannot be a null string. - Value: It can be up to 128 characters in length. It cannot begin with "aliyun", "acs:", "http://", or "https://". It can be a null string.- Returns:
- builder
-
templateResourceGroupId
public LaunchTemplateState.Builder templateResourceGroupId(@Nullable com.pulumi.core.Output<java.lang.String> templateResourceGroupId)
-
templateResourceGroupId
public LaunchTemplateState.Builder templateResourceGroupId(java.lang.String templateResourceGroupId)
-
templateTags
public LaunchTemplateState.Builder templateTags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>> templateTags)
-
templateTags
public LaunchTemplateState.Builder templateTags(java.util.Map<java.lang.String,java.lang.Object> templateTags)
-
userData
public LaunchTemplateState.Builder userData(@Nullable com.pulumi.core.Output<java.lang.String> userData)
-
userData
public LaunchTemplateState.Builder userData(java.lang.String userData)
-
userdata
@Deprecated public LaunchTemplateState.Builder userdata(@Nullable com.pulumi.core.Output<java.lang.String> userdata)
Deprecated.Field 'userdata' has been deprecated from provider version 1.120.0. New field 'user_data' instead.- Parameters:
userdata
- User data of the instance, which is Base64-encoded. Size of the raw data cannot exceed 16 KB.- Returns:
- builder
-
userdata
@Deprecated public LaunchTemplateState.Builder userdata(java.lang.String userdata)
Deprecated.Field 'userdata' has been deprecated from provider version 1.120.0. New field 'user_data' instead.- Parameters:
userdata
- User data of the instance, which is Base64-encoded. Size of the raw data cannot exceed 16 KB.- Returns:
- builder
-
versionDescription
public LaunchTemplateState.Builder versionDescription(@Nullable com.pulumi.core.Output<java.lang.String> versionDescription)
-
versionDescription
public LaunchTemplateState.Builder versionDescription(java.lang.String versionDescription)
-
vpcId
public LaunchTemplateState.Builder vpcId(@Nullable com.pulumi.core.Output<java.lang.String> vpcId)
-
vpcId
public LaunchTemplateState.Builder vpcId(java.lang.String vpcId)
-
vswitchId
public LaunchTemplateState.Builder vswitchId(@Nullable com.pulumi.core.Output<java.lang.String> vswitchId)
- Parameters:
vswitchId
- The VSwitch ID for ENI. The instance must be in the same zone of the same VPC network as the ENI, but they may belong to different VSwitches.- Returns:
- builder
-
vswitchId
public LaunchTemplateState.Builder vswitchId(java.lang.String vswitchId)
- Parameters:
vswitchId
- The VSwitch ID for ENI. The instance must be in the same zone of the same VPC network as the ENI, but they may belong to different VSwitches.- Returns:
- builder
-
zoneId
public LaunchTemplateState.Builder zoneId(@Nullable com.pulumi.core.Output<java.lang.String> zoneId)
- Parameters:
zoneId
- The zone ID of the instance.- Returns:
- builder
-
zoneId
public LaunchTemplateState.Builder zoneId(java.lang.String zoneId)
- Parameters:
zoneId
- The zone ID of the instance.- Returns:
- builder
-
build
public LaunchTemplateState build()
-
-