public static final class ExportWarningRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ExportWarningRequest |
build() |
ExportWarningRequest.Builder |
dealed(String dealed)
Specifies whether the baseline risks are handled.
|
ExportWarningRequest.Builder |
exportType(String exportType)
The type of the export task.
|
ExportWarningRequest.Builder |
groupId(Long groupId)
The ID of the server group.
|
ExportWarningRequest.Builder |
isCleartextPwd(Integer isCleartextPwd)
The export method of the results for the weak password baseline check.
|
ExportWarningRequest.Builder |
isSummaryExport(Integer isSummaryExport)
Specifies whether the baseline check results are aggregated and exported.
|
ExportWarningRequest.Builder |
lang(String lang)
The language of the content within the request and response.
|
ExportWarningRequest.Builder |
riskIds(String riskIds)
The ID of the risk item in the baseline check results.
|
ExportWarningRequest.Builder |
riskLevels(String riskLevels)
The severity of the baseline check item.
|
ExportWarningRequest.Builder |
riskName(String riskName)
The name of the baseline.
|
ExportWarningRequest.Builder |
sourceIp(String sourceIp)
The source IP address of the request.
|
ExportWarningRequest.Builder |
statusList(String statusList)
The status of the check item in the baseline check results.
|
ExportWarningRequest.Builder |
strategyId(Long strategyId)
The ID of the baseline check policy.
|
ExportWarningRequest.Builder |
subTypeNames(String subTypeNames)
The subtypes of the baselines based on which baseline checks are performed.
|
ExportWarningRequest.Builder |
typeName(String typeName)
The type of the baseline based on which baseline checks are performed.
|
ExportWarningRequest.Builder |
typeNames(String typeNames)
The types of the baselines based on which baseline checks are performed.
|
ExportWarningRequest.Builder |
uuids(String uuids)
The UUID of the server whose baseline check results you want to export.
|
public ExportWarningRequest.Builder dealed(String dealed)
Specifies whether the baseline risks are handled. Valid values:
N
public ExportWarningRequest.Builder exportType(String exportType)
The type of the export task. Set the value to hc_check_warning, which indicates tasks to export baseline check results.
example:hc_check_warning
public ExportWarningRequest.Builder groupId(Long groupId)
The ID of the server group.
example:You can call the DescribeAllGroups operation to query the IDs of server groups.
13007754
public ExportWarningRequest.Builder isCleartextPwd(Integer isCleartextPwd)
The export method of the results for the weak password baseline check. Valid values:
0
public ExportWarningRequest.Builder isSummaryExport(Integer isSummaryExport)
Specifies whether the baseline check results are aggregated and exported. Valid values:
1
public ExportWarningRequest.Builder lang(String lang)
The language of the content within the request and response. Default value: zh. Valid values:
zh
public ExportWarningRequest.Builder riskIds(String riskIds)
The ID of the risk item in the baseline check results. Separate multiple IDs with commas (,).
example:123,124
public ExportWarningRequest.Builder riskLevels(String riskLevels)
The severity of the baseline check item. Separate multiple severities with commas (,). Valid values:
high,medium
public ExportWarningRequest.Builder riskName(String riskName)
The name of the baseline.
example:Alibaba Cloud Standard - Windows 2016/2019 Security Baseline
public ExportWarningRequest.Builder sourceIp(String sourceIp)
The source IP address of the request.
example:192.0.XX.XX
public ExportWarningRequest.Builder statusList(String statusList)
The status of the check item in the baseline check results. Separate multiple statuses with commas (,). Valid values:
1,3
public ExportWarningRequest.Builder strategyId(Long strategyId)
The ID of the baseline check policy.
example:12
public ExportWarningRequest.Builder subTypeNames(String subTypeNames)
The subtypes of the baselines based on which baseline checks are performed. Separate multiple subtypes with commas (,).
example:You must set the value of this parameter to the value of the TypeName parameter that is contained in the SubTypes parameter. You can call the DescribeRiskType operation to obtain the value of the TypeName parameter.
hc_middleware_ack_master
public ExportWarningRequest.Builder typeName(String typeName)
The type of the baseline based on which baseline checks are performed.
example:You must set the value of this parameter to the value of the TypeName parameter that is returned by calling the DescribeRiskType operation. If both the TypeName and TypeNames parameters are specified, only the TypeName parameter takes effect.
hc_container
public ExportWarningRequest.Builder typeNames(String typeNames)
The types of the baselines based on which baseline checks are performed. Separate multiple types with commas (,).
example:You must set the value of this parameter to the value of the TypeName parameter that is returned by calling the DescribeRiskType operation. If both the TypeName and TypeNames parameters are specified, only the TypeName parameter takes effect.
hc_container,cis
public ExportWarningRequest.Builder uuids(String uuids)
The UUID of the server whose baseline check results you want to export. Separate multiple UUIDs with commas (,).
example:inet-7c676676-06fa-442e-90fb-b802e****,inet-7c676676-06fa-442e-90fb-b****
public ExportWarningRequest build()
Copyright © 2026. All rights reserved.