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)
* If the value of `ss` is not `00`, the start time is automatically rounded down to the nearest minute based on the value of `mm`. * The specified time must be at least 30 minutes later than the current time. * The specified time can be at most three years later than the current time.
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder creditSpecification(String creditSpecification)
* Standard: the standard mode. For more information, see the "Standard mode" section in the [Overview of burstable instances](~~59977~~) topic. * Unlimited: the unlimited mode. For more information, see the "Unlimited mode" section in the [Overview of burstable instances](~~59977~~) topic. This parameter is empty by default. When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId 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 (-). The hostname 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 `LaunchConfiguration.HostName` and `LaunchConfiguration.HostNames.N`. Otherwise, an error is returned. * When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder hostNames(List<String> hostNames)
- This parameter takes effect only when `AutoProvisioningGroupType` is set to instant. - The value of N indicates the number of instances. Valid values of N: 1 to 1000. The value of N must be the same as the TotalTargetCapacity value. - The hostname cannot start or end with a period (.) or hyphen (-). The hostname 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. The hostname 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 the hostname into multiple segments. Each segment can contain letters, digits, and hyphens (-). - You cannot specify both `LaunchConfiguration.HostName` and `LaunchConfiguration.HostNames.N`. Otherwise, an error is returned. - When both LaunchTemplateId and LaunchConfiguration.* parameters are specified, LaunchTemplateId takes precedence.
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder imageFamily(String imageFamily)
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder imageId(String imageId)
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder instanceDescription(String instanceDescription)
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder instanceName(String instanceName)
The default value of this parameter is the `InstanceId` value. 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 LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId 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 bandwidths may be limited. If you want guaranteed bandwidth for your instance, use the pay-by-bandwidth billing method. When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder internetMaxBandwidthIn(Integer internetMaxBandwidthIn)
* When the maximum 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 maximum 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 LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder internetMaxBandwidthOut(Integer internetMaxBandwidthOut)
Default value: 0. When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId 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 LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder keyPairName(String keyPairName)
* For Windows instances, this parameter is ignored. This parameter is empty by default. * By default, password-based logon is disabled for Linux instances. When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder password(String password)
``( ) ` ~ ! @ # $ % ^ & * - _ + = | { } ``: ; \" < > , . ? /`` For Windows instances, the password cannot start with a forward slash (/). When both LaunchTemplateId and LaunchConfiguration.* parameters are specified, LaunchTemplateId takes precedence. `
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder passwordInherit(Boolean passwordInherit)
* true: uses the password preset in the image. * false: does not use the password preset in the image. When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId 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: disables security hardening. This value is applicable to all image types. When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId 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 retired instance types, the default value is cloud. For other instances, the default value is cloud_efficiency. When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder systemDiskDescription(String systemDiskDescription)
When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder systemDiskName(String systemDiskName)
This parameter is empty by default. When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder systemDiskPerformanceLevel(String systemDiskPerformanceLevel)
* PL0 (default): 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 LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder systemDiskSize(Integer systemDiskSize)
Default value: 40 or the size of the image specified by LaunchConfiguration.ImageId, whichever is greater. When both LaunchTemplateId and LaunchConfiguration.\* parameters are specified, LaunchTemplateId takes precedence.
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder tag(List<CreateAutoProvisioningGroupRequest.LaunchConfigurationTag> tag)
public CreateAutoProvisioningGroupRequest.LaunchConfiguration.Builder userData(String userData)
public CreateAutoProvisioningGroupRequest.LaunchConfiguration build()
Copyright © 2024. All rights reserved.