public class CreatePrefixListRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 类和说明 |
---|---|
static class |
CreatePrefixListRequest.CreatePrefixListRequestEntry |
限定符和类型 | 字段和说明 |
---|---|
String |
addressFamily
The IP address family.
|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
String |
description
The description of the prefix list.
|
List<CreatePrefixListRequest.CreatePrefixListRequestEntry> |
entry
前缀列表条目信息。
|
Integer |
maxEntries
The maximum number of entries that the prefix list can contain.
|
String |
ownerAccount |
Long |
ownerId |
String |
prefixListName
The name of the prefix list.
|
String |
regionId
The ID of the region in which to create the prefix list.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
构造器和说明 |
---|
CreatePrefixListRequest() |
@NameInMap(value="AddressFamily") public String addressFamily
The IP address family. Valid values:
* IPv4
* IPv6
@NameInMap(value="ClientToken") public String clientToken
The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that it is unique among different requests. The `ClientToken` value can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](~~25693~~).
@NameInMap(value="Description") public String description
The description of the prefix list. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.
@NameInMap(value="Entry") public List<CreatePrefixListRequest.CreatePrefixListRequestEntry> entry
前缀列表条目信息。
@NameInMap(value="MaxEntries") public Integer maxEntries
The maximum number of entries that the prefix list can contain. Valid values: 1 to 200.
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="PrefixListName") public String prefixListName
The name of the prefix list. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with `http://`, `https://`, `com.aliyun`, or `com.alibabacloud`. It can contain letters, digits, colons (:), underscores (\_), periods (.), and hyphens (-).
@NameInMap(value="RegionId") public String regionId
The ID of the region in which to create the prefix list.
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
public static CreatePrefixListRequest build(Map<String,?> map) throws Exception
Exception
public CreatePrefixListRequest setAddressFamily(String addressFamily)
public String getAddressFamily()
public CreatePrefixListRequest setClientToken(String clientToken)
public String getClientToken()
public CreatePrefixListRequest setDescription(String description)
public String getDescription()
public CreatePrefixListRequest setEntry(List<CreatePrefixListRequest.CreatePrefixListRequestEntry> entry)
public List<CreatePrefixListRequest.CreatePrefixListRequestEntry> getEntry()
public CreatePrefixListRequest setMaxEntries(Integer maxEntries)
public Integer getMaxEntries()
public CreatePrefixListRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public CreatePrefixListRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public CreatePrefixListRequest setPrefixListName(String prefixListName)
public String getPrefixListName()
public CreatePrefixListRequest setRegionId(String regionId)
public String getRegionId()
public CreatePrefixListRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public CreatePrefixListRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
Copyright © 2023. All rights reserved.