public static final class UpdateCustomLineRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
UpdateCustomLineRequest |
build() |
UpdateCustomLineRequest.Builder |
ipSegment(List<UpdateCustomLineRequest.IpSegment> ipSegment)
The CIDR blocks.
|
UpdateCustomLineRequest.Builder |
lang(String lang)
The language of the content within the request and response.
|
UpdateCustomLineRequest.Builder |
lineId(Long lineId)
The unique ID of the custom line.
|
UpdateCustomLineRequest.Builder |
lineName(String lineName)
The name of the custom line.
|
public UpdateCustomLineRequest.Builder ipSegment(List<UpdateCustomLineRequest.IpSegment> ipSegment)
The CIDR blocks. Separate IP addresses with a hyphen (-). Enter a CIDR block in each row. You can enter 1 to 50 CIDR blocks at a time. If a CIDR block contains only one IP address, enter the IP address in the format of IP1-IP1. Different CIDR blocks cannot be overlapped.
public UpdateCustomLineRequest.Builder lang(String lang)
The language of the content within the request and response. Default value: zh. Valid values:
en
public UpdateCustomLineRequest.Builder lineId(Long lineId)
The unique ID of the custom line. You can call the DescribeCustomLines operation to obtain the unique ID.
This parameter is required.
example:1234
public UpdateCustomLineRequest.Builder lineName(String lineName)
The name of the custom line. The name must be 1 to 20 characters in length and can contain letters, digits, hyphens (-), and underscores (_).
public UpdateCustomLineRequest build()
Copyright © 2026. All rights reserved.