public class CreateInstanceRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 类和说明 |
---|---|
static class |
CreateInstanceRequest.CreateInstanceRequestArn |
static class |
CreateInstanceRequest.CreateInstanceRequestDataDisk |
static class |
CreateInstanceRequest.CreateInstanceRequestHibernationOptions |
static class |
CreateInstanceRequest.CreateInstanceRequestPrivatePoolOptions |
static class |
CreateInstanceRequest.CreateInstanceRequestSystemDisk |
static class |
CreateInstanceRequest.CreateInstanceRequestTag |
限定符和类型 | 字段和说明 |
---|---|
String |
affinity
Specifies whether to associate the instance on a dedicated host with the dedicated host.
|
List<CreateInstanceRequest.CreateInstanceRequestArn> |
arn
> This parameter is in invitational preview and is unavailable.
|
Boolean |
autoRenew
Specifies whether to enable auto-renewal for the instance.
|
Integer |
autoRenewPeriod
The auto-renewal cycle of the instance.
|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
String |
clusterId
The ID of the cluster in which to create the instance.
|
String |
creditSpecification
The performance mode of the burstable instance.
|
List<CreateInstanceRequest.CreateInstanceRequestDataDisk> |
dataDisk
The list of data disks.
|
String |
dedicatedHostId
The ID of the dedicated host on which to create the instance.
|
Boolean |
deletionProtection
Specifies whether to enable release protection for the instance.
|
Integer |
deploymentSetGroupNo
The number of the deployment set group to which to deploy the instance.
|
String |
deploymentSetId
The ID of the deployment set to which to deploy the instance.
|
String |
description
The description of the instance.
|
Boolean |
dryRun
Specifies whether to check the validity of the request without actually making the request.
|
CreateInstanceRequest.CreateInstanceRequestHibernationOptions |
hibernationOptions |
String |
hostName
The hostname of the instance.
|
String |
hpcClusterId
The ID of the HPC cluster to which to assign the instance.
|
String |
httpEndpoint
Specifies whether to enable the access channel for instance metadata.
|
Integer |
httpPutResponseHopLimit
> This parameter is currently in invitational preview and unavailable for general users.
|
String |
httpTokens
Specifies whether to forcefully use the security-enhanced mode (IMDSv2) to access instance metadata.
|
String |
imageFamily
The name of the image family.
|
String |
imageId
The ID of the image to use to create the instance.
|
String |
innerIpAddress
The internal IP address to assign to the instance.
|
String |
instanceChargeType
The billing method of the instance.
|
String |
instanceName
The name of the instance.
|
String |
instanceType
The instance type.
|
String |
internetChargeType
The billing method for network usage.
|
Integer |
internetMaxBandwidthIn
The maximum inbound public bandwidth.
|
Integer |
internetMaxBandwidthOut
The maximum outbound public bandwidth.
|
String |
ioOptimized
Specifies whether the instance is I/O optimized.
|
String |
keyPairName
The name of the key pair.
|
String |
nodeControllerId
> This parameter is in invitational preview and is unavailable.
|
String |
ownerAccount |
Long |
ownerId |
String |
password
The password of the instance.
|
Boolean |
passwordInherit
Specifies whether to use the password preset in the image.
|
Integer |
period
The subscription period of the instance.
|
String |
periodUnit
The unit of the subscription period.
|
String |
privateIpAddress
The private IP address to assign to the instance.
|
CreateInstanceRequest.CreateInstanceRequestPrivatePoolOptions |
privatePoolOptions |
String |
ramRoleName
The name of the instance Resource Access Management (RAM) role.
|
String |
regionId
The ID of the region in which to create the instance.
|
String |
resourceGroupId
The ID of the resource group to which to assign the instance.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
securityEnhancementStrategy
Specifies whether to enable security hardening.
|
String |
securityGroupId
The ID of the security group to which to assign the instance.
|
Integer |
spotDuration
The protection period of the preemptible instance.
|
String |
spotInterruptionBehavior
The interruption mode of the preemptible instance.
|
Float |
spotPriceLimit
The maximum hourly price of the instance.
|
String |
spotStrategy
The bidding policy for the pay-as-you-go instance.
|
String |
storageSetId
The ID of the storage set.
|
Integer |
storageSetPartitionNumber
The maximum number of partitions in the storage set.
|
CreateInstanceRequest.CreateInstanceRequestSystemDisk |
systemDisk |
List<CreateInstanceRequest.CreateInstanceRequestTag> |
tag
The tags.
|
String |
tenancy
Specifies whether to create the instance on a dedicated host.
|
Boolean |
useAdditionalService
Specifies whether to use the system configurations for virtual machines provided by Alibaba Cloud (Windows: NTP and KMS.
|
String |
userData
The user data of the instance.
|
String |
vlanId
The ID of the virtual LAN (VLAN).
|
String |
vSwitchId
The ID of the vSwitch to which to connect the instance.
|
String |
zoneId
The ID of the zone in which to create the instance.
|
构造器和说明 |
---|
CreateInstanceRequest() |
@NameInMap(value="HibernationOptions") public CreateInstanceRequest.CreateInstanceRequestHibernationOptions hibernationOptions
@NameInMap(value="PrivatePoolOptions") public CreateInstanceRequest.CreateInstanceRequestPrivatePoolOptions privatePoolOptions
@NameInMap(value="SystemDisk") public CreateInstanceRequest.CreateInstanceRequestSystemDisk systemDisk
@NameInMap(value="Affinity") public String affinity
Specifies whether to associate the instance on a dedicated host with the dedicated host. Valid values:
* default: does not associate the instance with the dedicated host. When you start an instance that was stopped in economical mode, the instance is automatically deployed to another dedicated host in the automatic deployment resource pool if the available resources of the original dedicated host are insufficient.
* host: associates the instance with the dedicated host. When you start an instance that was stopped in economical mode, the instance remains on the original dedicated host. If the available resources of the original dedicated host are insufficient, the instance cannot start.
Default value: default.
@NameInMap(value="Arn") public List<CreateInstanceRequest.CreateInstanceRequestArn> arn
> This parameter is in invitational preview and is unavailable.
@NameInMap(value="AutoRenew") public Boolean autoRenew
Specifies whether to enable auto-renewal for the instance. This parameter is valid only when the `InstanceChargeType` parameter is set to `PrePaid`. Default value: false. Valid values:
* true: enables auto-renewal.
* false: does not enable auto-renewal.
@NameInMap(value="AutoRenewPeriod") public Integer autoRenewPeriod
The auto-renewal cycle of the instance. This parameter is required when AutoRenew is set to true.
Valid values when PeriodUnit is set to Month: 1, 2, 3, 6, and 12
@NameInMap(value="ClientToken") public String clientToken
The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that the value is unique among different requests. The **ClientToken** value can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).
@NameInMap(value="ClusterId") public String clusterId
The ID of the cluster in which to create the instance.
> This parameter will be removed in the future. We recommend that you use other parameters to ensure future compatibility.
@NameInMap(value="CreditSpecification") public String creditSpecification
The performance mode of the burstable instance. Valid values:
* 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~~).
@NameInMap(value="DataDisk") public List<CreateInstanceRequest.CreateInstanceRequestDataDisk> dataDisk
The list of data disks.
@NameInMap(value="DedicatedHostId") public String dedicatedHostId
The ID of the dedicated host on which to create the instance.
You can call the [DescribeDedicatedHosts](~~134242~~) operation to query the list of dedicated host IDs.
If the `DedicatedHostId` parameter is specified, the `SpotStrategy` and `SpotPriceLimit` parameters are ignored. This is because preemptible instances cannot be created on dedicated hosts.
@NameInMap(value="DeletionProtection") public Boolean deletionProtection
Specifies whether to enable release protection for the instance. This parameter determines whether you can use the ECS console or call the [DeleteInstance](~~25507~~) operation to release the instance. Default value: false. Valid values:
* true: enables release protection.
* false: disables release protection.
> This parameter is applicable only to pay-as-you-go instances. It can protect instances against manual releases, but not against automatic releases.
@NameInMap(value="DeploymentSetGroupNo") public Integer deploymentSetGroupNo
The number of the deployment set group to which to deploy the instance. If the deployment set specified by the DeploymentSetId parameter uses the high availability group strategy (AvailabilityGroup), you can use the DeploymentSetGroupNo parameter to specify a deployment set group in the deployment set. Valid values: 1 to 7.
@NameInMap(value="DeploymentSetId") public String deploymentSetId
The ID of the deployment set to which to deploy the instance.
@NameInMap(value="Description") public String description
The description of the instance. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.
This parameter is empty by default.
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether to check the validity of the request without actually making the request. Default value: false. Valid values:
* true: The validity of the request is checked but the request is not made. Check items include whether required parameters are specified, the request format, service limits, and available ECS resources. If the check fails, the corresponding error code is returned. If the check succeeds, the `DryRunOperation` error code is returned.
* false: The validity of the request is checked, and the request is made if the check succeeds.
@NameInMap(value="HostName") public String hostName
The hostname of the instance.
* The hostname cannot start or end with a period (.) or hyphen (-). It cannot contain consecutive periods (.) or hyphens (-).
* For a Windows instance, 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 an instance that runs another type of operating system 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 (-).
@NameInMap(value="HpcClusterId") public String hpcClusterId
The ID of the HPC cluster to which to assign the instance.
@NameInMap(value="HttpEndpoint") public String httpEndpoint
Specifies whether to enable the access channel for instance metadata. Valid values:
* enabled: enables the access channel for instance metadata.
* disabled: disables the access channel for instance metadata.
Default value: enabled.
> For more information about instance metadata, see [Overview of ECS instance metadata](~~49122~~).
@NameInMap(value="HttpPutResponseHopLimit") public Integer httpPutResponseHopLimit
> This parameter is currently in invitational preview and unavailable for general users.
@NameInMap(value="HttpTokens") public String httpTokens
Specifies whether to forcefully use the security-enhanced mode (IMDSv2) to access instance metadata. Valid values:
* optional: does not forcibly use the security-enhanced mode (IMDSv2).
* required: forcefully uses the security-enhanced mode (IMDSv2). After you set this parameter to required, you cannot access instance metadata in normal mode.
Default value: optional.
> For more information about modes of accessing instance metadata, see [Access mode of instance metadata](~~150575~~).
@NameInMap(value="ImageFamily") public String imageFamily
The name of the image family. You can set this parameter to obtain the latest available custom image from the specified image family to create the instance.
* ImageFamily must be empty if `ImageId` is specified.
* ImageFamily can be specified if `ImageId` is not specified.
@NameInMap(value="ImageId") public String imageId
The ID of the image to use to create the instance. To use an Alibaba Cloud Marketplace image, you can view the `image ID` on the product page of the Alibaba Cloud Marketplace image. This parameter is required if you do not specify the `ImageFamily` parameter to obtain the latest available custom image from the specified image family.
@NameInMap(value="InnerIpAddress") public String innerIpAddress
The internal IP address to assign to the instance.
@NameInMap(value="InstanceChargeType") public String instanceChargeType
The billing method of the instance. Default value: PostPaid. Valid values:
* PrePaid: subscription. If you set this parameter to PrePaid, make sure that you have sufficient balance or credit in your account. Otherwise, an `InvalidPayMethod` error is returned.
* PostPaid: pay-as-you-go.
@NameInMap(value="InstanceName") public String instanceName
The name of the instance. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with `http://` or `https://`. It can contain letters, digits, colons (:), underscores (\_), periods (.), and hyphens (-). If you do not specify this parameter, the instance ID is used as the instance name by default.
@NameInMap(value="InstanceType") public String instanceType
The instance type.
* Select an instance type. See [Instance families](~~25378~~) or call the [DescribeInstanceTypes](~~25620~~) operation to query the performance data of an instance type, or see [Best practices for instance type selection](~~58291~~) to learn about how to select instance types.
* Query available resources. You can call the [DescribeAvailableResource](~~66186~~) operation to query available resources in a specific region or zone.
@NameInMap(value="InternetChargeType") public String internetChargeType
The billing method for network usage. Default value: PayByTraffic. Valid values:
* 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 upper limits of bandwidths instead of guaranteed performance specifications. In scenarios where demand outstrips resource supplies, these maximum bandwidth values may not be reached. If you want guaranteed bandwidths for your instance, use the **pay-by-bandwidth** billing method for network usage.
@NameInMap(value="InternetMaxBandwidthIn") public Integer internetMaxBandwidthIn
The maximum inbound public bandwidth. Unit: Mbit/s. Valid values:
* 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 `InternetMaxBandwidthOut` value and the default value is the `InternetMaxBandwidthOut` value.
@NameInMap(value="InternetMaxBandwidthOut") public Integer internetMaxBandwidthOut
The maximum outbound public bandwidth. Unit: Mbit/s. Valid values: 0 to 100.
Default value: 0.
@NameInMap(value="IoOptimized") public String ioOptimized
Specifies whether the instance is I/O optimized. Valid values:
* none: The instance is not I/O optimized.
* optimized: The instance is I/O optimized.
For retired instance types, the default value is none. For more information, see [Retired instance types](~~55263~~).
For other instance types, the default value is optimized.
@NameInMap(value="KeyPairName") public String keyPairName
The name of the key pair.
> For Windows instances, this parameter is ignored. This parameter is empty by default. The `Password` parameter takes effect even if the KeyPairName parameter is specified.
@NameInMap(value="NodeControllerId") public String nodeControllerId
> This parameter is in invitational preview and is unavailable.
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="Password") public String password
The password of the instance. The password must be 8 to 30 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. Special characters include:
```plain
( ) ` ~ ! @ # $ % ^ & * - _ + = | { } [ ] : ; \" < > , . ? /
```
Take note of the following items:
* For security reasons, we recommend that you use HTTPS to send requests if the Password parameter is specified.
* Passwords of Windows instances cannot start with a forward slash (/).
* Passwords cannot be set for instances that run some types of operating systems such as Others Linux and Fedora CoreOS. For these instances, only key pairs can be set.
@NameInMap(value="PasswordInherit") public Boolean passwordInherit
Specifies whether to use the password preset in the image. When you use this parameter, leave Password empty and make sure that the selected image has a password preset.
@NameInMap(value="Period") public Integer period
The subscription period of the instance. The unit is specified by the `PeriodUnit` parameter. This parameter is valid and required only when `InstanceChargeType` is set to `PrePaid`. If the `DedicatedHostId` parameter is specified, the value of Period must not exceed the subscription period of the specified dedicated host. Valid values:
Valid values when PeriodUnit is set to Month: 1, 2, 3, 6, and 12
@NameInMap(value="PeriodUnit") public String periodUnit
The unit of the subscription period. Valid values:
Month
Default value: Month.
@NameInMap(value="PrivateIpAddress") public String privateIpAddress
The private IP address to assign to the instance. The private IP address must be an available IP address within the CIDR block of the specified vSwitch.
@NameInMap(value="RamRoleName") public String ramRoleName
The name of the instance Resource Access Management (RAM) role. You can call the [ListRoles](~~28713~~) operation provided by RAM to query the instance RAM roles that you created.
@NameInMap(value="RegionId") public String regionId
The ID of the region in which to create the instance. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which to assign the instance.
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="SecurityEnhancementStrategy") public String securityEnhancementStrategy
Specifies whether to enable security hardening. Valid values:
* 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.
@NameInMap(value="SecurityGroupId") public String securityGroupId
The ID of the security group to which to assign the instance. Instances in the same security group can communicate with each other.
@NameInMap(value="SpotDuration") public Integer spotDuration
The protection period of the preemptible instance. Unit: hours. Valid values: 0, 1, 2, 3, 4, 5, and 6.
* Protection periods of 2, 3, 4, 5, and 6 hours are in invitational preview. If you want to set this parameter to one of these values, submit a ticket.
* If this parameter is set to 0, no protection period is configured for the preemptible instance.
Default value: 1.
@NameInMap(value="SpotInterruptionBehavior") public String spotInterruptionBehavior
The interruption mode of the preemptible instance. Default value: Terminate. Set the value to Terminate, which specifies to release the instance.
@NameInMap(value="SpotPriceLimit") public Float spotPriceLimit
The maximum hourly price of the instance. The value is accurate to three decimal places. This parameter is valid only when the `SpotStrategy` parameter is set to `SpotWithPriceLimit`.
@NameInMap(value="SpotStrategy") public String spotStrategy
The bidding policy for the pay-as-you-go instance. This parameter is valid only when the `InstanceChargeType` parameter is set to `PostPaid`. Default value: NoSpot. Valid values:
* NoSpot: The instance is created as a regular pay-as-you-go instance.
* SpotWithPriceLimit: The instance is created as a preemptible instance with a user-defined maximum hourly price.
* SpotAsPriceGo: The instance is created as a preemptible instance for which the market price at the time of purchase is automatically used as the bid price.
@NameInMap(value="StorageSetId") public String storageSetId
The ID of the storage set.
@NameInMap(value="StorageSetPartitionNumber") public Integer storageSetPartitionNumber
The maximum number of partitions in the storage set. Valid values: greater than or equal to 2.
@NameInMap(value="Tag") public List<CreateInstanceRequest.CreateInstanceRequestTag> tag
The tags.
@NameInMap(value="Tenancy") public String tenancy
Specifies whether to create the instance on a dedicated host. Valid values:
* default: creates the instance on a non-dedicated host.
* host: creates the instance on a dedicated host. If you do not specify the `DedicatedHostId` parameter, Alibaba Cloud selects a dedicated host for the instance.
Default value: default.
@NameInMap(value="UseAdditionalService") public Boolean useAdditionalService
Specifies whether to use the system configurations for virtual machines provided by Alibaba Cloud (Windows: NTP and KMS. Linux: NTP and YUM).
@NameInMap(value="UserData") public String userData
The user data of the instance. The user data must be encoded in Base64. The maximum size of raw data is 16 KB.
@NameInMap(value="VSwitchId") public String vSwitchId
The ID of the vSwitch to which to connect the instance. This parameter is required when you create an instance in a VPC. You can call the [DescribeVSwitches](~~35748~~) operation to query available vSwitches.
> If the `VSwitchId` parameter is specified, the zone specified by the `ZoneId` parameter must be the zone where the specified vSwitch is located. You can also leave the `ZoneId` parameter empty. Then, the system selects the zone where the specified vSwitch is located.
@NameInMap(value="VlanId") public String vlanId
The ID of the virtual LAN (VLAN).
@NameInMap(value="ZoneId") public String zoneId
The ID of the zone in which to create the instance. You can call the [DescribeZones](~~25610~~) operation to query the most recent zone list.
> If the `VSwitchId` parameter is specified, the zone specified by the `ZoneId` parameter must be the zone where the specified vSwitch is located. You can also leave the `ZoneId` parameter empty. Then, the system selects the zone where the specified vSwitch is located.
This parameter is empty by default.
public static CreateInstanceRequest build(Map<String,?> map) throws Exception
Exception
public CreateInstanceRequest setHibernationOptions(CreateInstanceRequest.CreateInstanceRequestHibernationOptions hibernationOptions)
public CreateInstanceRequest.CreateInstanceRequestHibernationOptions getHibernationOptions()
public CreateInstanceRequest setPrivatePoolOptions(CreateInstanceRequest.CreateInstanceRequestPrivatePoolOptions privatePoolOptions)
public CreateInstanceRequest.CreateInstanceRequestPrivatePoolOptions getPrivatePoolOptions()
public CreateInstanceRequest setSystemDisk(CreateInstanceRequest.CreateInstanceRequestSystemDisk systemDisk)
public CreateInstanceRequest.CreateInstanceRequestSystemDisk getSystemDisk()
public CreateInstanceRequest setAffinity(String affinity)
public String getAffinity()
public CreateInstanceRequest setArn(List<CreateInstanceRequest.CreateInstanceRequestArn> arn)
public List<CreateInstanceRequest.CreateInstanceRequestArn> getArn()
public CreateInstanceRequest setAutoRenew(Boolean autoRenew)
public Boolean getAutoRenew()
public CreateInstanceRequest setAutoRenewPeriod(Integer autoRenewPeriod)
public Integer getAutoRenewPeriod()
public CreateInstanceRequest setClientToken(String clientToken)
public String getClientToken()
public CreateInstanceRequest setClusterId(String clusterId)
public String getClusterId()
public CreateInstanceRequest setCreditSpecification(String creditSpecification)
public String getCreditSpecification()
public CreateInstanceRequest setDataDisk(List<CreateInstanceRequest.CreateInstanceRequestDataDisk> dataDisk)
public List<CreateInstanceRequest.CreateInstanceRequestDataDisk> getDataDisk()
public CreateInstanceRequest setDedicatedHostId(String dedicatedHostId)
public String getDedicatedHostId()
public CreateInstanceRequest setDeletionProtection(Boolean deletionProtection)
public Boolean getDeletionProtection()
public CreateInstanceRequest setDeploymentSetGroupNo(Integer deploymentSetGroupNo)
public Integer getDeploymentSetGroupNo()
public CreateInstanceRequest setDeploymentSetId(String deploymentSetId)
public String getDeploymentSetId()
public CreateInstanceRequest setDescription(String description)
public String getDescription()
public CreateInstanceRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public CreateInstanceRequest setHostName(String hostName)
public String getHostName()
public CreateInstanceRequest setHpcClusterId(String hpcClusterId)
public String getHpcClusterId()
public CreateInstanceRequest setHttpEndpoint(String httpEndpoint)
public String getHttpEndpoint()
public CreateInstanceRequest setHttpPutResponseHopLimit(Integer httpPutResponseHopLimit)
public Integer getHttpPutResponseHopLimit()
public CreateInstanceRequest setHttpTokens(String httpTokens)
public String getHttpTokens()
public CreateInstanceRequest setImageFamily(String imageFamily)
public String getImageFamily()
public CreateInstanceRequest setImageId(String imageId)
public String getImageId()
public CreateInstanceRequest setInnerIpAddress(String innerIpAddress)
public String getInnerIpAddress()
public CreateInstanceRequest setInstanceChargeType(String instanceChargeType)
public String getInstanceChargeType()
public CreateInstanceRequest setInstanceName(String instanceName)
public String getInstanceName()
public CreateInstanceRequest setInstanceType(String instanceType)
public String getInstanceType()
public CreateInstanceRequest setInternetChargeType(String internetChargeType)
public String getInternetChargeType()
public CreateInstanceRequest setInternetMaxBandwidthIn(Integer internetMaxBandwidthIn)
public Integer getInternetMaxBandwidthIn()
public CreateInstanceRequest setInternetMaxBandwidthOut(Integer internetMaxBandwidthOut)
public Integer getInternetMaxBandwidthOut()
public CreateInstanceRequest setIoOptimized(String ioOptimized)
public String getIoOptimized()
public CreateInstanceRequest setKeyPairName(String keyPairName)
public String getKeyPairName()
public CreateInstanceRequest setNodeControllerId(String nodeControllerId)
public String getNodeControllerId()
public CreateInstanceRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public CreateInstanceRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public CreateInstanceRequest setPassword(String password)
public String getPassword()
public CreateInstanceRequest setPasswordInherit(Boolean passwordInherit)
public Boolean getPasswordInherit()
public CreateInstanceRequest setPeriod(Integer period)
public Integer getPeriod()
public CreateInstanceRequest setPeriodUnit(String periodUnit)
public String getPeriodUnit()
public CreateInstanceRequest setPrivateIpAddress(String privateIpAddress)
public String getPrivateIpAddress()
public CreateInstanceRequest setRamRoleName(String ramRoleName)
public String getRamRoleName()
public CreateInstanceRequest setRegionId(String regionId)
public String getRegionId()
public CreateInstanceRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public CreateInstanceRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public CreateInstanceRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public CreateInstanceRequest setSecurityEnhancementStrategy(String securityEnhancementStrategy)
public String getSecurityEnhancementStrategy()
public CreateInstanceRequest setSecurityGroupId(String securityGroupId)
public String getSecurityGroupId()
public CreateInstanceRequest setSpotDuration(Integer spotDuration)
public Integer getSpotDuration()
public CreateInstanceRequest setSpotInterruptionBehavior(String spotInterruptionBehavior)
public String getSpotInterruptionBehavior()
public CreateInstanceRequest setSpotPriceLimit(Float spotPriceLimit)
public Float getSpotPriceLimit()
public CreateInstanceRequest setSpotStrategy(String spotStrategy)
public String getSpotStrategy()
public CreateInstanceRequest setStorageSetId(String storageSetId)
public String getStorageSetId()
public CreateInstanceRequest setStorageSetPartitionNumber(Integer storageSetPartitionNumber)
public Integer getStorageSetPartitionNumber()
public CreateInstanceRequest setTag(List<CreateInstanceRequest.CreateInstanceRequestTag> tag)
public List<CreateInstanceRequest.CreateInstanceRequestTag> getTag()
public CreateInstanceRequest setTenancy(String tenancy)
public String getTenancy()
public CreateInstanceRequest setUseAdditionalService(Boolean useAdditionalService)
public Boolean getUseAdditionalService()
public CreateInstanceRequest setUserData(String userData)
public String getUserData()
public CreateInstanceRequest setVSwitchId(String vSwitchId)
public String getVSwitchId()
public CreateInstanceRequest setVlanId(String vlanId)
public String getVlanId()
public CreateInstanceRequest setZoneId(String zoneId)
public String getZoneId()
Copyright © 2023. All rights reserved.