public static final class AddInstallCodeRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
AddInstallCodeRequest |
build() |
AddInstallCodeRequest.Builder |
expiredDate(Long expiredDate)
The validity period of the installation command.
|
AddInstallCodeRequest.Builder |
groupId(Long groupId)
The ID of the asset group to which you want to add the asset.
|
AddInstallCodeRequest.Builder |
onlyImage(Boolean onlyImage)
Specifies whether to create an image.
|
AddInstallCodeRequest.Builder |
os(String os)
The operating system of the asset.
|
AddInstallCodeRequest.Builder |
privateLinkId(Long privateLinkId)
The ID of the PrivateLink endpoint.
|
AddInstallCodeRequest.Builder |
proxyCluster(String proxyCluster)
The name of the proxy cluster.
|
AddInstallCodeRequest.Builder |
vendorName(String vendorName)
The name of the service provider for the asset.
|
public AddInstallCodeRequest.Builder expiredDate(Long expiredDate)
The validity period of the installation command. The value is a 13-digit timestamp.
example:The installation command is valid only within the validity period. An expired installation command cannot be used to install the Security Center agent.
1680257463853
public AddInstallCodeRequest.Builder groupId(Long groupId)
The ID of the asset group to which you want to add the asset.
example:You can call the DescribeAllGroups operation to query the IDs of asset groups.
8076980
public AddInstallCodeRequest.Builder onlyImage(Boolean onlyImage)
Specifies whether to create an image. Default value: false. Valid values:
false
public AddInstallCodeRequest.Builder os(String os)
The operating system of the asset. Default value: linux. Valid values:
linux
public AddInstallCodeRequest.Builder privateLinkId(Long privateLinkId)
The ID of the PrivateLink endpoint.
example:72845
public AddInstallCodeRequest.Builder proxyCluster(String proxyCluster)
The name of the proxy cluster.
example:proxy_test
public AddInstallCodeRequest.Builder vendorName(String vendorName)
The name of the service provider for the asset. Default value: ALIYUN.
example:You can call the DescribeVendorList operation to query the names of service providers.
ALIYUN
public AddInstallCodeRequest build()
Copyright © 2026. All rights reserved.