public static final class OperateCommonTargetConfigRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
OperateCommonTargetConfigRequest |
build() |
OperateCommonTargetConfigRequest.Builder |
fieldName(String fieldName)
The type of the image.
|
OperateCommonTargetConfigRequest.Builder |
fieldValue(String fieldValue)
The name of the image repository or the namespace of the image repository.
|
OperateCommonTargetConfigRequest.Builder |
sourceIp(String sourceIp)
The source IP address of the request.
|
OperateCommonTargetConfigRequest.Builder |
targetOperations(String targetOperations)
The configuration of proactive defense for your server.
|
OperateCommonTargetConfigRequest.Builder |
targetType(String targetType)
The dimension based on which the asset is selected.
|
OperateCommonTargetConfigRequest.Builder |
type(String type)
The type of the feature.
|
public OperateCommonTargetConfigRequest.Builder fieldName(String fieldName)
The type of the image. Valid values:
repoName
public OperateCommonTargetConfigRequest.Builder fieldValue(String fieldValue)
The name of the image repository or the namespace of the image repository.
example:cafcmc-dev
public OperateCommonTargetConfigRequest.Builder sourceIp(String sourceIp)
The source IP address of the request.
example:182.92.XXX.XXX
public OperateCommonTargetConfigRequest.Builder targetOperations(String targetOperations)
The configuration of proactive defense for your server. The value includes the following fields:
This parameter is required.
example:[ { "targetType": "uuid", "target": "f329a044-6a2f-49a0-9d33-352f6c1d****", "flag": "del" } ]
public OperateCommonTargetConfigRequest.Builder targetType(String targetType)
The dimension based on which the asset is selected. Valid values:
uuid
public OperateCommonTargetConfigRequest.Builder type(String type)
The type of the feature. Valid values:
This parameter is required.
example:alidetect
public OperateCommonTargetConfigRequest build()
Copyright © 2026. All rights reserved.