public static final class ChangeCheckConfigRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ChangeCheckConfigRequest.Builder |
addedCheck(List<ChangeCheckConfigRequest.AddedCheck> addedCheck)
The list of check items that you want to add to the policy.
|
ChangeCheckConfigRequest |
build() |
ChangeCheckConfigRequest.Builder |
configRequirementIds(ChangeCheckConfigRequest.ConfigRequirementIds configRequirementIds)
The requirement IDs that you want to specify for the check policy.
|
ChangeCheckConfigRequest.Builder |
configStandardIds(ChangeCheckConfigRequest.ConfigStandardIds configStandardIds)
The standard IDs that you want to specify for the check policy.
|
ChangeCheckConfigRequest.Builder |
configure(String configure)
The configuration of the check item.
|
ChangeCheckConfigRequest.Builder |
cycleDays(List<Integer> cycleDays)
The days in a week on which a check is performed.
|
ChangeCheckConfigRequest.Builder |
enableAddCheck(Boolean enableAddCheck)
Specifies whether to check the new check items in the selected requirement item.
|
ChangeCheckConfigRequest.Builder |
enableAutoCheck(Boolean enableAutoCheck)
Specifies whether to enable the automatic periodical check feature.
|
ChangeCheckConfigRequest.Builder |
endTime(Integer endTime)
The end time of the check.
|
ChangeCheckConfigRequest.Builder |
regionId(String regionId)
The region ID of the bastion host to query.
|
ChangeCheckConfigRequest.Builder |
removedCheck(List<ChangeCheckConfigRequest.RemovedCheck> removedCheck)
The list of the check items that you want to remove from the policy.
|
ChangeCheckConfigRequest.Builder |
resourceDirectoryAccountId(Long resourceDirectoryAccountId)
The Alibaba Cloud account ID of the member in the resource directory.
|
ChangeCheckConfigRequest.Builder |
standardIds(List<Long> standardIds)
An array that consists of the information about the check item.
|
ChangeCheckConfigRequest.Builder |
startTime(Integer startTime)
The start time of the check.
|
ChangeCheckConfigRequest.Builder |
systemConfig(Boolean systemConfig)
Specifies whether to use the configuration automatically generated by the system.
|
ChangeCheckConfigRequest.Builder |
vendors(List<String> vendors)
The cloud service providers.
|
public ChangeCheckConfigRequest.Builder addedCheck(List<ChangeCheckConfigRequest.AddedCheck> addedCheck)
The list of check items that you want to add to the policy.
If the ConfigStandardIds or ConfigRequirementIds parameter is configured, this parameter does not take effect.
public ChangeCheckConfigRequest.Builder configRequirementIds(ChangeCheckConfigRequest.ConfigRequirementIds configRequirementIds)
The requirement IDs that you want to specify for the check policy.
You can call the ListCheckResult operation to obtain the requirement ID. If the ConfigStandardIds parameter is configured, this parameter does not take effect.
public ChangeCheckConfigRequest.Builder configStandardIds(ChangeCheckConfigRequest.ConfigStandardIds configStandardIds)
The standard IDs that you want to specify for the check policy.
You can call the ListCheckResult operation to obtain the standard ID.
public ChangeCheckConfigRequest.Builder configure(String configure)
The configuration of the check item. Valid value:
all
public ChangeCheckConfigRequest.Builder cycleDays(List<Integer> cycleDays)
The days in a week on which a check is performed.
public ChangeCheckConfigRequest.Builder enableAddCheck(Boolean enableAddCheck)
Specifies whether to check the new check items in the selected requirement item. Valid values:
false
public ChangeCheckConfigRequest.Builder enableAutoCheck(Boolean enableAutoCheck)
Specifies whether to enable the automatic periodical check feature. Valid values:
true
public ChangeCheckConfigRequest.Builder endTime(Integer endTime)
The end time of the check. The value specifies a point in time in a day. The time period that is specified by the start time and end time must be one of the following time periods:
6
public ChangeCheckConfigRequest.Builder regionId(String regionId)
The region ID of the bastion host to query.
example:For more information about the mapping between region IDs and region names, see Regions and zones.
cn-hangzhou
public ChangeCheckConfigRequest.Builder removedCheck(List<ChangeCheckConfigRequest.RemovedCheck> removedCheck)
The list of the check items that you want to remove from the policy.
If the ConfigStandardIds or ConfigRequirementIds parameter is configured, this parameter does not take effect.
public ChangeCheckConfigRequest.Builder resourceDirectoryAccountId(Long resourceDirectoryAccountId)
The Alibaba Cloud account ID of the member in the resource directory.
example:You can call the DescribeMonitorAccounts operation to obtain the IDs.
1232428423234****
public ChangeCheckConfigRequest.Builder standardIds(List<Long> standardIds)
An array that consists of the information about the check item.
public ChangeCheckConfigRequest.Builder startTime(Integer startTime)
The start time of the check. The value specifies a point in time in a day.
example:0
public ChangeCheckConfigRequest.Builder systemConfig(Boolean systemConfig)
Specifies whether to use the configuration automatically generated by the system. Valid values:
true
public ChangeCheckConfigRequest.Builder vendors(List<String> vendors)
The cloud service providers.
public ChangeCheckConfigRequest build()
Copyright © 2026. All rights reserved.