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 the 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 instance.
|
AddInstallCodeRequest.Builder |
vendorName(String vendorName)
The name of the service provider for the asset.
|
public AddInstallCodeRequest.Builder expiredDate(Long expiredDate)
> The installation command is valid only within the validity period. An expired installation command cannot be used to install the Security Center agent.
public AddInstallCodeRequest.Builder groupId(Long groupId)
> You can call the [DescribeAllGroups](~~describeallgroups~~) operation to query the IDs of asset groups.
public AddInstallCodeRequest.Builder onlyImage(Boolean onlyImage)
* **false**: does not create an image. * **true**: creates an image.
public AddInstallCodeRequest.Builder os(String os)
* **linux** * **windows** * **windows-2003**
public AddInstallCodeRequest.Builder vendorName(String vendorName)
> You can call the [DescribeVendorList](~~DescribeVendorList~~) operation to query the names of service providers.
public AddInstallCodeRequest build()
Copyright © 2023. All rights reserved.