public static final class CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder extends Object
构造器和说明 |
---|
Builder() |
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder arn(List<CreateAutoProvisioningGroupRequest.Arn> arn)
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder autoReleaseTime(String autoReleaseTime)
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder creditSpecification(String creditSpecification)
* Standard: the standard mode. For more information, see the "Standard mode" section in [Burstable instances](~~59977~~). * Unlimited: the unlimited mode. For more information, see the "Unlimited mode" section in [Burstable instances](~~59977~~). This parameter is empty by default. When both the LaunchTemplateId and LaunchConfiguration.\* parameters are specified, the LaunchTemplateId parameter takes precedence.
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder dataDisk(List<CreateAutoProvisioningGroupRequest.DataDisk> dataDisk)
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder deploymentSetId(String deploymentSetId)
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder hostName(String hostName)
* The hostname cannot start or end with a period (.) or hyphen (-). It cannot contain consecutive periods (.) or hyphens (-). * For Windows instances, the hostname must be 2 to 15 characters in length and cannot contain periods (.) or contain only digits. It can contain letters, digits, and hyphens (-). * For instances that run other operating systems such as Linux, the hostname must be 2 to 64 characters in length. You can use periods (.) to separate a hostname into multiple segments. Each segment can contain letters, digits, and hyphens (-). * You cannot specify both the `LaunchConfiguration.HostName` and `LaunchConfiguration.HostNames.N` parameters. Otherwise, an error is returned. * When both the LaunchTemplateId and LaunchConfiguration.\* parameters are specified, the LaunchTemplateId parameter takes precedence.
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder hostNames(List<String> hostNames)
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder imageId(String imageId)
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder instanceDescription(String instanceDescription)
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder instanceName(String instanceName)
When you batch create instances, you can batch configure sequential names for the instances. For more information, see [Batch configure sequential names or hostnames for multiple instances](~~196048~~). When both the LaunchTemplateId and LaunchConfiguration.\* parameters are specified, the LaunchTemplateId parameter takes precedence.
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder internetChargeType(String internetChargeType)
* PayByBandwidth: pay-by-bandwidth * PayByTraffic: pay-by-traffic > When the pay-by-traffic billing method for network usage is used, the maximum inbound and outbound bandwidth values are used as the upper limits of bandwidth instead of guaranteed performance specifications. When demands outstrip resource supplies, the maximum bandwidth may be affected. If you want guaranteed bandwidth for your instance, use the pay-by-bandwidth billing method. When both the LaunchTemplateId and LaunchConfiguration.\* parameters are specified, the LaunchTemplateId parameter takes precedence.
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder internetMaxBandwidthIn(Integer internetMaxBandwidthIn)
* When the purchased outbound public bandwidth is less than or equal to 10 Mbit/s, the valid values of this parameter are 1 to 10 and the default value is 10. * When the purchased outbound public bandwidth is greater than 10 Mbit/s, the valid values of this parameter are 1 to the value of `LaunchConfiguration.InternetMaxBandwidthOut`, and the default value is the value of `LaunchConfiguration.InternetMaxBandwidthOut`. When both the LaunchTemplateId and LaunchConfiguration.\* parameters are specified, the LaunchTemplateId parameter takes precedence.
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder internetMaxBandwidthOut(Integer internetMaxBandwidthOut)
Default value: 0. When both the LaunchTemplateId and LaunchConfiguration.\* parameters are specified, the LaunchTemplateId parameter takes precedence.
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder ioOptimized(String ioOptimized)
* none: The instance is not I/O optimized. * optimized: The instance is I/O optimized. For instances of retired instance types, the default value is none. For instances of other instance types, the default value is optimized. When both the LaunchTemplateId and LaunchConfiguration.\* parameters are specified, the LaunchTemplateId parameter takes precedence.
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder keyPairName(String keyPairName)
* For Windows instances, this parameter is ignored. This parameter is empty by default. * For Linux instances, the password-based logon method is disabled by default. When both the LaunchTemplateId and LaunchConfiguration.\* parameters are specified, the LaunchTemplateId parameter takes precedence.
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder password(String password)
``( ) ` ~ ! @ # $ % ^ & * - _ + = | { } ``: ; \" < > , . ? /`` For Windows instances, the password cannot start with a forward slash (/). When both the LaunchTemplateId and LaunchConfiguration.* parameters are specified, the LaunchTemplateId parameter takes precedence. `
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder passwordInherit(Boolean passwordInherit)
* true: uses the preset password. * false: does not use the preset password. When both the LaunchTemplateId and LaunchConfiguration.\* parameters are specified, the LaunchTemplateId parameter takes precedence.
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder ramRoleName(String ramRoleName)
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder resourceGroupId(String resourceGroupId)
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder securityEnhancementStrategy(String securityEnhancementStrategy)
* Active: enables security hardening. This value is applicable only to public images. * Deactive: does not enable security hardening. This value is applicable to all images. When both the LaunchTemplateId and LaunchConfiguration.\* parameters are specified, the LaunchTemplateId parameter takes precedence.
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder securityGroupId(String securityGroupId)
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder securityGroupIds(List<String> securityGroupIds)
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder systemDisk(CreateAutoProvisioningGroupRequest.SystemDisk systemDisk)
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder systemDiskCategory(String systemDiskCategory)
* cloud_efficiency: ultra disk * cloud_ssd: standard SSD * cloud_essd: enhanced SSD (ESSD) * cloud: basic disk For non-I/O optimized instances of a retired instance type, the default value is cloud. For other types of instances, the default value is cloud_efficiency. When both the LaunchTemplateId and LaunchConfiguration.\* parameters are specified, the LaunchTemplateId parameter takes precedence.
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder systemDiskDescription(String systemDiskDescription)
When both the LaunchTemplateId and LaunchConfiguration.\* parameters are specified, the LaunchTemplateId parameter takes precedence.
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder systemDiskName(String systemDiskName)
This parameter is empty by default. When both the LaunchTemplateId and LaunchConfiguration.\* parameters are specified, the LaunchTemplateId parameter takes precedence.
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder systemDiskPerformanceLevel(String systemDiskPerformanceLevel)
* PL0: A single ESSD can deliver up to 10,000 random read/write IOPS. * PL1: A single ESSD can deliver up to 50,000 random read/write IOPS. * PL2: A single ESSD can deliver up to 100,000 random read/write IOPS. * PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS. For more information about ESSD performance levels, see [ESSDs](~~122389~~). When both the LaunchTemplateId and LaunchConfiguration.\* parameters are specified, the LaunchTemplateId parameter takes precedence.
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder systemDiskSize(Integer systemDiskSize)
Default value: 40 or the size of the image specified by the LaunchConfiguration.ImageId parameter, whichever is greater. When both the LaunchTemplateId and LaunchConfiguration.\* parameters are specified, the LaunchTemplateId parameter takes precedence.
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder tag(List<CreateAutoProvisioningGroupRequest.Tag> tag)
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder userData(String userData)
public CreateAutoProvisioningGroupRequest.LaunchConfiguration build()
Copyright © 2023. All rights reserved.