public static final class UpdateBlackWhiteListRequest.Builder extends Object
public UpdateBlackWhiteListRequest.Builder acceptLanguage(String acceptLanguage)
The language of the response. Valid values:
zh
public UpdateBlackWhiteListRequest.Builder content(String content)
The content of the blacklist.
example:127.0.2.11
public UpdateBlackWhiteListRequest.Builder gatewayUniqueId(String gatewayUniqueId)
The unique ID of the gateway.
example:gw-c70622ff52fe49beb29bea9a6f52****
public UpdateBlackWhiteListRequest.Builder id(Long id)
The ID of the blacklist.
example:1
public UpdateBlackWhiteListRequest.Builder isWhite(Boolean isWhite)
Specifies whether to enable the whitelist.
example:true
public UpdateBlackWhiteListRequest.Builder name(String name)
The name.
example:name
public UpdateBlackWhiteListRequest.Builder note(String note)
The description.
example:this is a note
public UpdateBlackWhiteListRequest.Builder resourceIdJsonList(String resourceIdJsonList)
The resource IDs in the JSON format.
example:[123]
public UpdateBlackWhiteListRequest.Builder resourceType(String resourceType)
The type of the resource.
example:GATEWAY
public UpdateBlackWhiteListRequest.Builder status(String status)
Specifies whether to enable the blacklist or whitelist.
example:on
public UpdateBlackWhiteListRequest.Builder type(String type)
The type of the blacklist or whitelist.
example:IP
public UpdateBlackWhiteListRequest build()
Copyright © 2026. All rights reserved.