public class CreateVpcPrefixListRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 类和说明 |
---|---|
static class |
CreateVpcPrefixListRequest.CreateVpcPrefixListRequestPrefixListEntries |
static class |
CreateVpcPrefixListRequest.CreateVpcPrefixListRequestTag |
限定符和类型 | 字段和说明 |
---|---|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
Boolean |
dryRun
Specifies whether to perform a dry run.
|
String |
ipVersion
The IP version.
|
Integer |
maxEntries
The maximum number of CIDR blocks that you can specify in the prefix list.
|
String |
ownerAccount |
Long |
ownerId |
String |
prefixListDescription
The description of the prefix list.
|
List<CreateVpcPrefixListRequest.CreateVpcPrefixListRequestPrefixListEntries> |
prefixListEntries
The CIDR block information specified in the prefix list.
|
String |
prefixListName
The name of the prefix list.
|
String |
regionId
The ID of the region where you want to create the prefix list.
|
String |
resourceGroupId
The ID of the resource group to which the prefix list belongs.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
List<CreateVpcPrefixListRequest.CreateVpcPrefixListRequestTag> |
tag
The tag list.
|
构造器和说明 |
---|
CreateVpcPrefixListRequest() |
@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 all requests. ClientToken can contain only ASCII characters.
example:If you do not specify this parameter, ClientToken is set to the value of RequestId. The value of RequestId for each API request may be different.
123e4567-e89b-12d3-a456-426655440000
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether to perform a dry run. Valid values:
DryRunOperation
error code is returned.false
@NameInMap(value="IpVersion") public String ipVersion
The IP version. Valid values:
IPv4
@NameInMap(value="MaxEntries") public Integer maxEntries
The maximum number of CIDR blocks that you can specify in the prefix list. Default value: 50.
example:50
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="PrefixListDescription") public String prefixListDescription
The description of the prefix list.
The description must be 1 to 256 characters in length and cannot start with http://
or https://
.
description
@NameInMap(value="PrefixListEntries") public List<CreateVpcPrefixListRequest.CreateVpcPrefixListRequestPrefixListEntries> prefixListEntries
The CIDR block information specified in the prefix list.
@NameInMap(value="PrefixListName") public String prefixListName
The name of the prefix list.
The name must be 1 to 128 characters in length, and cannot start with http://
or https://
.
name
@NameInMap(value="RegionId") public String regionId
The ID of the region where you want to create the prefix list.
You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which the prefix list belongs.
example:rg-bp67acfmxazb4ph****
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="Tag") public List<CreateVpcPrefixListRequest.CreateVpcPrefixListRequestTag> tag
The tag list.
public static CreateVpcPrefixListRequest build(Map<String,?> map) throws Exception
Exception
public CreateVpcPrefixListRequest setClientToken(String clientToken)
public String getClientToken()
public CreateVpcPrefixListRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public CreateVpcPrefixListRequest setIpVersion(String ipVersion)
public String getIpVersion()
public CreateVpcPrefixListRequest setMaxEntries(Integer maxEntries)
public Integer getMaxEntries()
public CreateVpcPrefixListRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public CreateVpcPrefixListRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public CreateVpcPrefixListRequest setPrefixListDescription(String prefixListDescription)
public String getPrefixListDescription()
public CreateVpcPrefixListRequest setPrefixListEntries(List<CreateVpcPrefixListRequest.CreateVpcPrefixListRequestPrefixListEntries> prefixListEntries)
public List<CreateVpcPrefixListRequest.CreateVpcPrefixListRequestPrefixListEntries> getPrefixListEntries()
public CreateVpcPrefixListRequest setPrefixListName(String prefixListName)
public String getPrefixListName()
public CreateVpcPrefixListRequest setRegionId(String regionId)
public String getRegionId()
public CreateVpcPrefixListRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public CreateVpcPrefixListRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public CreateVpcPrefixListRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public CreateVpcPrefixListRequest setTag(List<CreateVpcPrefixListRequest.CreateVpcPrefixListRequestTag> tag)
public List<CreateVpcPrefixListRequest.CreateVpcPrefixListRequestTag> getTag()
Copyright © 2024. All rights reserved.