public static final class ModifyAddressBookRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
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 |
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 addressList(String addressList)
* If you set GroupType to **ip**, you must specify IP addresses for the address book. Example: 1.2.XX.XX/32,1.2.XX.XX/24. * If you set GroupType to **port**, you must specify port numbers or port ranges for the address book. Example: 80/80,100/200. * If you set GroupType to **domain**, you must specify domain names for the address book. Example: demo1.aliyun.com,demo2.aliyun.com.
public ModifyAddressBookRequest.Builder autoAddTagEcs(String autoAddTagEcs)
* **1**: yes * **0**: no
public ModifyAddressBookRequest.Builder description(String description)
public ModifyAddressBookRequest.Builder groupName(String groupName)
public ModifyAddressBookRequest.Builder groupUuid(String groupUuid)
> To modify the address book, you must provide the ID of the address book. You can call the [DescribeAddressBook](~~138869~~) operation to query the ID.
public ModifyAddressBookRequest.Builder lang(String lang)
* **zh**: Chinese (default) * **en**: English
public ModifyAddressBookRequest.Builder sourceIp(String sourceIp)
public ModifyAddressBookRequest.Builder tagList(List<ModifyAddressBookRequest.TagList> tagList)
public ModifyAddressBookRequest.Builder tagRelation(String tagRelation)
* **and**: Only the public IP addresses of ECS instances that match all the specified tags can be added to the address book. * **or**: The public IP addresses of ECS instances that match one of the specified tags can be added to the address book.
public ModifyAddressBookRequest build()
Copyright © 2023. All rights reserved.