public static final class UpdatePolicyRequest.PromptAttackInfo.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
UpdatePolicyRequest.PromptAttackInfo |
build() |
UpdatePolicyRequest.PromptAttackInfo.Builder |
isEnabled(Integer isEnabled)
Prompt attack configuration switch
0: Off
1: On
example:
1
|
UpdatePolicyRequest.PromptAttackInfo.Builder |
securityLevel(Integer securityLevel)
Security level
0: Low
1: Medium
2: High
example:
2
|
public UpdatePolicyRequest.PromptAttackInfo.Builder isEnabled(Integer isEnabled)
Prompt attack configuration switch 0: Off 1: On
example:1
public UpdatePolicyRequest.PromptAttackInfo.Builder securityLevel(Integer securityLevel)
Security level 0: Low 1: Medium 2: High
example:2
public UpdatePolicyRequest.PromptAttackInfo build()
Copyright © 2025. All rights reserved.