public class CreateIpv4GatewayRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 类和说明 |
---|---|
static class |
CreateIpv4GatewayRequest.CreateIpv4GatewayRequestTag |
限定符和类型 | 字段和说明 |
---|---|
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 |
ipv4GatewayDescription
The description of the IPv4 gateway.
|
String |
ipv4GatewayName
The name of the IPv4 gateway.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The ID of the region where you want to create the IPv4 gateway.
|
String |
resourceGroupId
The ID of the resource group.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
List<CreateIpv4GatewayRequest.CreateIpv4GatewayRequestTag> |
tag
The tags of the resource.
|
String |
vpcId
The ID of the VPC where you want to create the IPv4 gateway.
|
构造器和说明 |
---|
CreateIpv4GatewayRequest() |
@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. ClientToken can contain only ASCII characters.
example:If you do not set this parameter, the system sets ClientToken to the value of RequestId. The value of RequestId for each API request is 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="Ipv4GatewayDescription") public String ipv4GatewayDescription
The description of the IPv4 gateway.
The description must be 1 to 256 characters in length and cannot start with http://
or https://
.
test
@NameInMap(value="Ipv4GatewayName") public String ipv4GatewayName
The name of the IPv4 gateway.
The name must be 1 to 128 characters in length, and cannot start with http://
or https://
.
ipv4
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The ID of the region where you want to create the IPv4 gateway.
You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:ap-southeast-6
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group.
example:rg-acfmxazb4ph6aiy****
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="Tag") public List<CreateIpv4GatewayRequest.CreateIpv4GatewayRequestTag> tag
The tags of the resource.
@NameInMap(value="VpcId") public String vpcId
The ID of the VPC where you want to create the IPv4 gateway.
You can create only one IPv4 gateway in a VPC.
This parameter is required.
example:vpc-5tss06uvoyps5xoya****
public static CreateIpv4GatewayRequest build(Map<String,?> map) throws Exception
Exception
public CreateIpv4GatewayRequest setClientToken(String clientToken)
public String getClientToken()
public CreateIpv4GatewayRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public CreateIpv4GatewayRequest setIpv4GatewayDescription(String ipv4GatewayDescription)
public String getIpv4GatewayDescription()
public CreateIpv4GatewayRequest setIpv4GatewayName(String ipv4GatewayName)
public String getIpv4GatewayName()
public CreateIpv4GatewayRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public CreateIpv4GatewayRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public CreateIpv4GatewayRequest setRegionId(String regionId)
public String getRegionId()
public CreateIpv4GatewayRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public CreateIpv4GatewayRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public CreateIpv4GatewayRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public CreateIpv4GatewayRequest setTag(List<CreateIpv4GatewayRequest.CreateIpv4GatewayRequestTag> tag)
public List<CreateIpv4GatewayRequest.CreateIpv4GatewayRequestTag> getTag()
public CreateIpv4GatewayRequest setVpcId(String vpcId)
public String getVpcId()
Copyright © 2024. All rights reserved.