public class AssociateRouteTableWithGatewayRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
Boolean |
dryRun
Specifies whether to check the request without performing the operation.
|
String |
gatewayId
The ID of the IPv4 gateway.
|
String |
gatewayType
The type of a gateway to be associated with a route table.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The region ID of the IPv4 gateway with which you want to associate the gateway route table.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
routeTableId
The ID of the gateway route table.
|
构造器和说明 |
---|
AssociateRouteTableWithGatewayRequest() |
@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 token can contain only ASCII characters and cannot exceed 64 characters in length.
example:If you do not set this parameter, the system automatically uses RequestId as ClientToken. RequestId of each API request may be different.
123e4567-e89b-12d3-a456-426655440000
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether to check the request without performing the operation. Valid values:
DryRunOperation
error code is returned.false
@NameInMap(value="GatewayId") public String gatewayId
The ID of the IPv4 gateway.
The IPv4 gateway must be in the Activated state.
This parameter is required.
example:ipv4gw-5tsnc6s4ogsedtp3k****
@NameInMap(value="GatewayType") public String gatewayType
The type of a gateway to be associated with a route table.
example:Ipv4Gateway
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The region ID of the IPv4 gateway with which you want to associate the gateway route table.
You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:ap-southeast-6
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="RouteTableId") public String routeTableId
The ID of the gateway route table.
This parameter is required.
example:vtb-5ts0ohchwkp3dydt2****
public static AssociateRouteTableWithGatewayRequest build(Map<String,?> map) throws Exception
Exception
public AssociateRouteTableWithGatewayRequest setClientToken(String clientToken)
public String getClientToken()
public AssociateRouteTableWithGatewayRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public AssociateRouteTableWithGatewayRequest setGatewayId(String gatewayId)
public String getGatewayId()
public AssociateRouteTableWithGatewayRequest setGatewayType(String gatewayType)
public String getGatewayType()
public AssociateRouteTableWithGatewayRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public AssociateRouteTableWithGatewayRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public AssociateRouteTableWithGatewayRequest setRegionId(String regionId)
public String getRegionId()
public AssociateRouteTableWithGatewayRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public AssociateRouteTableWithGatewayRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public AssociateRouteTableWithGatewayRequest setRouteTableId(String routeTableId)
public String getRouteTableId()
Copyright © 2024. All rights reserved.