public static final class DescribeInstanceSpecificationsResponseBody.Data.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeInstanceSpecificationsResponseBody.Data |
build() |
DescribeInstanceSpecificationsResponseBody.Data.Builder |
cpu(Integer cpu)
The CPU specification of the instance type.
|
DescribeInstanceSpecificationsResponseBody.Data.Builder |
enable(Boolean enable)
Indicates whether the instance type is available.
|
DescribeInstanceSpecificationsResponseBody.Data.Builder |
id(Integer id)
The ID of the instance type.
|
DescribeInstanceSpecificationsResponseBody.Data.Builder |
memory(Integer memory)
The memory size of the instance type.
|
DescribeInstanceSpecificationsResponseBody.Data.Builder |
specInfo(String specInfo)
The name of the instance type.
|
DescribeInstanceSpecificationsResponseBody.Data.Builder |
version(Integer version)
The version number of the instance type.
|
public DescribeInstanceSpecificationsResponseBody.Data.Builder cpu(Integer cpu)
The CPU specification of the instance type. Unit: millicore.
example:2000
public DescribeInstanceSpecificationsResponseBody.Data.Builder enable(Boolean enable)
Indicates whether the instance type is available. Valid values:
true
public DescribeInstanceSpecificationsResponseBody.Data.Builder id(Integer id)
The ID of the instance type.
example:4
public DescribeInstanceSpecificationsResponseBody.Data.Builder memory(Integer memory)
The memory size of the instance type. Unit: MB.
example:4096
public DescribeInstanceSpecificationsResponseBody.Data.Builder specInfo(String specInfo)
The name of the instance type.
public DescribeInstanceSpecificationsResponseBody.Data.Builder version(Integer version)
The version number of the instance type.
example:0
public DescribeInstanceSpecificationsResponseBody.Data build()
Copyright © 2026. All rights reserved.