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
The details of entries in the prefix list.
|
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:
This parameter is required.
example:IPv4
@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 token, but you must make sure that the token is unique among different requests. The token
can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see How to ensure idempotence.
0c593ea1-3bea-11e9-b96b-88e9fe637760
@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://
.
This is description.
@NameInMap(value="Entry") public List<CreatePrefixListRequest.CreatePrefixListRequestEntry> entry
The details of entries in the prefix list.
@NameInMap(value="MaxEntries") public Integer maxEntries
The maximum number of entries that the prefix list can contain. Valid values: 1 to 200.
This parameter is required.
example:10
@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, and can contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-). It must start with a letter and cannot start with http://
, https://
, com.aliyun
, or com.alibabacloud
.
This parameter is required.
example:PrefixListNameSample
@NameInMap(value="RegionId") public String regionId
The ID of the region in which to create the prefix list.
This parameter is required.
example:cn-chengdu
@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 © 2024. All rights reserved.