public static final class AddAddressBookRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
AddAddressBookRequest.Builder |
ackClusterConnectorId(String ackClusterConnectorId)
AckClusterConnectorId.
|
AddAddressBookRequest.Builder |
ackLabels(List<AddAddressBookRequest.AckLabels> ackLabels)
AckLabels.
|
AddAddressBookRequest.Builder |
ackNamespaces(List<String> ackNamespaces)
AckNamespaces.
|
AddAddressBookRequest.Builder |
addressList(String addressList)
The addresses that you want to add to the address book.
|
AddAddressBookRequest.Builder |
autoAddTagEcs(String autoAddTagEcs)
Specifies whether to automatically add public IP addresses of ECS instances to the address book if the instances match the specified tags.
|
AddAddressBookRequest |
build() |
AddAddressBookRequest.Builder |
description(String description)
The description of the address book.
|
AddAddressBookRequest.Builder |
groupName(String groupName)
The name of the address book.
|
AddAddressBookRequest.Builder |
groupType(String groupType)
The type of the address book.
|
AddAddressBookRequest.Builder |
lang(String lang)
The language of the content within the response.
|
AddAddressBookRequest.Builder |
sourceIp(String sourceIp)
The source IP address of the request.
|
AddAddressBookRequest.Builder |
tagList(List<AddAddressBookRequest.TagList> tagList)
The ECS tags that you want to match.
|
AddAddressBookRequest.Builder |
tagRelation(String tagRelation)
The logical relation among the ECS tags that you want to match.
|
public AddAddressBookRequest.Builder ackClusterConnectorId(String ackClusterConnectorId)
public AddAddressBookRequest.Builder ackLabels(List<AddAddressBookRequest.AckLabels> ackLabels)
public AddAddressBookRequest.Builder ackNamespaces(List<String> ackNamespaces)
public AddAddressBookRequest.Builder addressList(String addressList)
The addresses that you want to add to the address book. Separate multiple addresses with commas (,).
If you set GroupType to
ip,portordomain, you must specify AddressList.
ip, you must add IP addresses to the address book. Example: 192.0.XX.XX/32,192.0.XX.XX/24.port, you must add port numbers or port ranges to the address book. Example: 80,100/200.domain, you must add domain names to the address book. Example: example.com,aliyundoc.com.192.0.XX.XX/32, 192.0.XX.XX/24
public AddAddressBookRequest.Builder autoAddTagEcs(String autoAddTagEcs)
Specifies whether to automatically add public IP addresses of ECS instances to the address book if the instances match the specified tags. Valid values:
1
public AddAddressBookRequest.Builder description(String description)
The description of the address book.
This parameter is required.
example:sz-001
public AddAddressBookRequest.Builder groupName(String groupName)
The name of the address book.
This parameter is required.
example:sz-001
public AddAddressBookRequest.Builder groupType(String groupType)
The type of the address book. Valid values:
This parameter is required.
example:ip
public AddAddressBookRequest.Builder lang(String lang)
The language of the content within the response. Valid values:
zh
public AddAddressBookRequest.Builder sourceIp(String sourceIp)
The source IP address of the request.
example:192.0.XX.XX
public AddAddressBookRequest.Builder tagList(List<AddAddressBookRequest.TagList> tagList)
The ECS tags that you want to match.
public AddAddressBookRequest.Builder tagRelation(String tagRelation)
The logical relation among the ECS tags that you want to match. Valid values:
and
public AddAddressBookRequest build()
Copyright © 2026. All rights reserved.