public static final class CreateCheckPolicyRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
CreateCheckPolicyRequest |
build() |
CreateCheckPolicyRequest.Builder |
dependentPolicyId(Long dependentPolicyId)
The ID of the parent policy.
|
CreateCheckPolicyRequest.Builder |
policyShowName(String policyShowName)
The name of the custom policy.
|
CreateCheckPolicyRequest.Builder |
policyType(String policyType)
The policy category type for custom check rules:
STANDARD: Add to a standard.
|
CreateCheckPolicyRequest.Builder |
type(String type)
The name of the major policy category (required when PolicyType is STANDARD):
AISPM: AI Configuration Management (AISPM).
|
public CreateCheckPolicyRequest.Builder dependentPolicyId(Long dependentPolicyId)
The ID of the parent policy.
(The specific dependency order from low to high is Section -> Requirement -> Standard)
example:123
public CreateCheckPolicyRequest.Builder policyShowName(String policyShowName)
The name of the custom policy.
This parameter is required.
example:TestPolicyName
public CreateCheckPolicyRequest.Builder policyType(String policyType)
The policy category type for custom check rules:
This parameter is required.
example:STANDARD
public CreateCheckPolicyRequest.Builder type(String type)
The name of the major policy category (required when PolicyType is STANDARD):
AISPM
public CreateCheckPolicyRequest build()
Copyright © 2026. All rights reserved.