public static final class ModifyAddressBookRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ModifyAddressBookRequest.Builder |
ackLabels(List<ModifyAddressBookRequest.AckLabels> ackLabels)
AckLabels.
|
ModifyAddressBookRequest.Builder |
ackNamespaces(List<String> ackNamespaces)
AckNamespaces.
|
ModifyAddressBookRequest.Builder |
addressList(String addressList)
The addresses in the address book.
|
ModifyAddressBookRequest.Builder |
autoAddTagEcs(String autoAddTagEcs)
Specifies whether to automatically add public IP addresses of Elastic Compute Service (ECS) instances to the address book if the instances match the specified tags.
|
ModifyAddressBookRequest |
build() |
ModifyAddressBookRequest.Builder |
description(String description)
The description of the address book.
|
ModifyAddressBookRequest.Builder |
groupName(String groupName)
The name of the address book.
|
ModifyAddressBookRequest.Builder |
groupUuid(String groupUuid)
The ID of the address book.
|
ModifyAddressBookRequest.Builder |
lang(String lang)
The language of the content within the request and response.
|
ModifyAddressBookRequest.Builder |
modifyMode(String modifyMode)
Modification mode with the following values:
Cover: Use the value of the AddressList parameter to overwrite the original address book.
|
ModifyAddressBookRequest.Builder |
sourceIp(String sourceIp)
The source IP address of the request.
|
ModifyAddressBookRequest.Builder |
tagList(List<ModifyAddressBookRequest.TagList> tagList)
The ECS tags that you want to match.
|
ModifyAddressBookRequest.Builder |
tagRelation(String tagRelation)
The logical relationship among ECS tags.
|
public ModifyAddressBookRequest.Builder ackLabels(List<ModifyAddressBookRequest.AckLabels> ackLabels)
public ModifyAddressBookRequest.Builder ackNamespaces(List<String> ackNamespaces)
public ModifyAddressBookRequest.Builder addressList(String addressList)
The addresses in the address book. Separate multiple addresses with commas (,). If you set GroupType to ip, port, or domain, you must specify this parameter.
192.0.XX.XX/32, 192.0.XX.XX/24
public ModifyAddressBookRequest.Builder autoAddTagEcs(String autoAddTagEcs)
Specifies whether to automatically add public IP addresses of Elastic Compute Service (ECS) instances to the address book if the instances match the specified tags. Valid values:
1
public ModifyAddressBookRequest.Builder description(String description)
The description of the address book.
This parameter is required.
example:bj-001
public ModifyAddressBookRequest.Builder groupName(String groupName)
The name of the address book.
This parameter is required.
example:bj-001
public ModifyAddressBookRequest.Builder groupUuid(String groupUuid)
The ID of the address book.
To modify the address book, you must provide the ID of the address book. You can call the DescribeAddressBook operation to query the ID.
This parameter is required.
example:0657ab9d-fe8b-4174-b2a6-6baf358e****
public ModifyAddressBookRequest.Builder lang(String lang)
The language of the content within the request and response. Valid values:
zh
public ModifyAddressBookRequest.Builder modifyMode(String modifyMode)
Modification mode with the following values:
example:When GroupType is ip, ipv6, port, or domain, if this parameter is not configured, the default is to use the Cover method to modify the address book. Notice: When GroupType is tag, this parameter must be empty.
Cover
public ModifyAddressBookRequest.Builder sourceIp(String sourceIp)
The source IP address of the request.
example:192.0.XX.XX
public ModifyAddressBookRequest.Builder tagList(List<ModifyAddressBookRequest.TagList> tagList)
The ECS tags that you want to match.
public ModifyAddressBookRequest.Builder tagRelation(String tagRelation)
The logical relationship among ECS tags. Valid values:
and
public ModifyAddressBookRequest build()
Copyright © 2026. All rights reserved.