public static final class SaveWhiteListStrategyAssetsRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
SaveWhiteListStrategyAssetsRequest |
build() |
SaveWhiteListStrategyAssetsRequest.Builder |
lang(String lang)
The language of the content within the request and response.
|
SaveWhiteListStrategyAssetsRequest.Builder |
operations(String operations)
The operation that you want to perform.
|
SaveWhiteListStrategyAssetsRequest.Builder |
relationType(Integer relationType)
The type of the policy.
|
SaveWhiteListStrategyAssetsRequest.Builder |
sourceIp(String sourceIp)
The source IP address of the request.
|
SaveWhiteListStrategyAssetsRequest.Builder |
strategyId(Long strategyId)
The ID of the policy.
|
public SaveWhiteListStrategyAssetsRequest.Builder lang(String lang)
The language of the content within the request and response. Default value: zh. Valid values:
zh
public SaveWhiteListStrategyAssetsRequest.Builder operations(String operations)
The operation that you want to perform. This parameter is in the JSON format. The value is case-sensitive. The value contains the following fields:
status: the operation. Valid values:
target: the UUID of the server.
You can call the DescribeCloudCenterInstances operation to obtain the value of target from the response parameter Uuid.
This parameter is required.
example:[{"status":0,"target":"c98dcd24-fa57-4759-b5ec-f8a4ffeed****"}]
public SaveWhiteListStrategyAssetsRequest.Builder relationType(Integer relationType)
The type of the policy. Valid values:
This parameter is required.
example:1
public SaveWhiteListStrategyAssetsRequest.Builder sourceIp(String sourceIp)
The source IP address of the request. You do not need to specify this parameter. It is automatically obtained by the system.
example:115.193.XX.XX
public SaveWhiteListStrategyAssetsRequest.Builder strategyId(Long strategyId)
The ID of the policy.
You can call the DescribeWhiteListStrategyList operation to query the ID.
This parameter is required.
example:2730
public SaveWhiteListStrategyAssetsRequest build()
Copyright © 2026. All rights reserved.