public static final class UpdateCheckItemRequest.Builder extends Object
public UpdateCheckItemRequest.Builder assistInfo(UpdateCheckItemRequest.AssistInfo assistInfo)
Help information for the check item.
public UpdateCheckItemRequest.Builder checkId(Long checkId)
ID of the custom check item to be updated.
You can call the ListCheckItems API to get this parameter.
This parameter is required.
example:10000000001
public UpdateCheckItemRequest.Builder checkRule(String checkRule)
Definition rule for the custom check item.
example:{"AssociatedData":{"ToDataList":[{"DataName":"ACS_ECS_Instance","PropertyPath":"InstanceId","FromPropertyPath":"InstanceId"}]},"MatchProperty":{"Operator":"AND","MatchProperties":[{"DataName":"ACS_ECS_Disk","PropertyPath":"InstanceId","MatchOperator":"EQ","MatchPropertyValue":"testId"},{"DataName":"ACS_ECS_Instance","PropertyPath":"InstanceId","MatchOperator":"EQ","MatchPropertyValue":"testInstanceId"}]}}
public UpdateCheckItemRequest.Builder checkShowName(String checkShowName)
Name of the custom check item.
example:testCheckItemName
public UpdateCheckItemRequest.Builder description(UpdateCheckItemRequest.Description description)
Description of the check item.
public UpdateCheckItemRequest.Builder instanceSubType(String instanceSubType)
Sub-asset type of the cloud product.
example:You can call the ListCloudAssetSchemas API to get this parameter.
DISK
public UpdateCheckItemRequest.Builder instanceType(String instanceType)
Asset type of the cloud product.
example:You can call the ListCloudAssetSchemas API to get this parameter.
ECS
public UpdateCheckItemRequest.Builder remark(String remark)
Remark information
example:remark.
public UpdateCheckItemRequest.Builder riskLevel(String riskLevel)
Risk level of the check item. Values:
high
public UpdateCheckItemRequest.Builder sectionIds(List<Long> sectionIds)
Array of section IDs associated with the check item.
public UpdateCheckItemRequest.Builder solution(UpdateCheckItemRequest.Solution solution)
Solution information for the check item.
public UpdateCheckItemRequest.Builder status(String status)
Status of the check item. Values:
example:
- Changing from Released to In editing will clear all historical records
- Only the Released status allows the use of the check item for inspection.
RELEASE
public UpdateCheckItemRequest.Builder vendor(String vendor)
Cloud asset vendor.
example:You can call the ListCloudAssetSchemas API to get the available vendors.
ALIYUN
public UpdateCheckItemRequest build()
Copyright © 2026. All rights reserved.