public class AttachDhcpOptionsSetToVpcRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
String |
dhcpOptionsSetId
The ID of the DHCP options set.
|
Boolean |
dryRun
Specifies whether to check the request without performing the operation.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The region to which the DHCP options set belongs.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
vpcId
The ID of the VPC to be associated with the DHCP options set.
|
构造器和说明 |
---|
AttachDhcpOptionsSetToVpcRequest() |
限定符和类型 | 方法和说明 |
---|---|
static AttachDhcpOptionsSetToVpcRequest |
build(Map<String,?> map) |
String |
getClientToken() |
String |
getDhcpOptionsSetId() |
Boolean |
getDryRun() |
String |
getOwnerAccount() |
Long |
getOwnerId() |
String |
getRegionId() |
String |
getResourceOwnerAccount() |
Long |
getResourceOwnerId() |
String |
getVpcId() |
AttachDhcpOptionsSetToVpcRequest |
setClientToken(String clientToken) |
AttachDhcpOptionsSetToVpcRequest |
setDhcpOptionsSetId(String dhcpOptionsSetId) |
AttachDhcpOptionsSetToVpcRequest |
setDryRun(Boolean dryRun) |
AttachDhcpOptionsSetToVpcRequest |
setOwnerAccount(String ownerAccount) |
AttachDhcpOptionsSetToVpcRequest |
setOwnerId(Long ownerId) |
AttachDhcpOptionsSetToVpcRequest |
setRegionId(String regionId) |
AttachDhcpOptionsSetToVpcRequest |
setResourceOwnerAccount(String resourceOwnerAccount) |
AttachDhcpOptionsSetToVpcRequest |
setResourceOwnerId(Long resourceOwnerId) |
AttachDhcpOptionsSetToVpcRequest |
setVpcId(String vpcId) |
@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 client token can contain only ASCII characters.
example:If you do not set this parameter, the system uses RequestId as ClientToken. RequestId may be different for each API request.
0c593ea1-3bea-11e9-b96b-88e9fe637760
@NameInMap(value="DhcpOptionsSetId") public String dhcpOptionsSetId
The ID of the DHCP options set.
This parameter is required.
example:dopt-o6w0df4epg9zo8isy****
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether to check the request without performing the operation. Valid values:
true: checks the request without performing the operation. The system checks whether your AccessKey pair is valid, whether the Resource Access Management (RAM) user is authorized, and whether the required parameters are set. If the request fails to pass the check, the corresponding error message is returned. If the request passes the check, the DryRunOperation
error code is returned.
false (default): sends the request. If the request passes the check, a 2XX HTTP status code is returned and the operation is performed.
example:false
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The region to which the DHCP options set belongs. You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="VpcId") public String vpcId
The ID of the VPC to be associated with the DHCP options set.
This parameter is required.
example:vpc-sfdkfdjkdf****
public static AttachDhcpOptionsSetToVpcRequest build(Map<String,?> map) throws Exception
Exception
public AttachDhcpOptionsSetToVpcRequest setClientToken(String clientToken)
public String getClientToken()
public AttachDhcpOptionsSetToVpcRequest setDhcpOptionsSetId(String dhcpOptionsSetId)
public String getDhcpOptionsSetId()
public AttachDhcpOptionsSetToVpcRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public AttachDhcpOptionsSetToVpcRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public AttachDhcpOptionsSetToVpcRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public AttachDhcpOptionsSetToVpcRequest setRegionId(String regionId)
public String getRegionId()
public AttachDhcpOptionsSetToVpcRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public AttachDhcpOptionsSetToVpcRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public AttachDhcpOptionsSetToVpcRequest setVpcId(String vpcId)
public String getVpcId()
Copyright © 2024. All rights reserved.