public class AllocatePublicIpAddressRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
instanceId
The ID of the instance to which you want to assign a public IP address.
|
String |
ipAddress
The public IP address.
|
String |
ownerAccount |
Long |
ownerId |
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
vlanId
The virtual LAN (VLAN) ID of the instance.
|
构造器和说明 |
---|
AllocatePublicIpAddressRequest() |
限定符和类型 | 方法和说明 |
---|---|
static AllocatePublicIpAddressRequest |
build(Map<String,?> map) |
String |
getInstanceId() |
String |
getIpAddress() |
String |
getOwnerAccount() |
Long |
getOwnerId() |
String |
getResourceOwnerAccount() |
Long |
getResourceOwnerId() |
String |
getVlanId() |
AllocatePublicIpAddressRequest |
setInstanceId(String instanceId) |
AllocatePublicIpAddressRequest |
setIpAddress(String ipAddress) |
AllocatePublicIpAddressRequest |
setOwnerAccount(String ownerAccount) |
AllocatePublicIpAddressRequest |
setOwnerId(Long ownerId) |
AllocatePublicIpAddressRequest |
setResourceOwnerAccount(String resourceOwnerAccount) |
AllocatePublicIpAddressRequest |
setResourceOwnerId(Long resourceOwnerId) |
AllocatePublicIpAddressRequest |
setVlanId(String vlanId) |
@NameInMap(value="InstanceId") public String instanceId
The ID of the instance to which you want to assign a public IP address.
This parameter is required.
example:i-bp1gtjxuuvwj17zr****
@NameInMap(value="IpAddress") public String ipAddress
The public IP address. If you leave this parameter empty, the system randomly assigns a public IP address to the instance.
example:112.124.**.**
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="VlanId") public String vlanId
The virtual LAN (VLAN) ID of the instance.
example:This parameter will be removed in the future. To ensure future compatibility, we recommend that you use other parameters.
720
public static AllocatePublicIpAddressRequest build(Map<String,?> map) throws Exception
Exception
public AllocatePublicIpAddressRequest setInstanceId(String instanceId)
public String getInstanceId()
public AllocatePublicIpAddressRequest setIpAddress(String ipAddress)
public String getIpAddress()
public AllocatePublicIpAddressRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public AllocatePublicIpAddressRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public AllocatePublicIpAddressRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public AllocatePublicIpAddressRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public AllocatePublicIpAddressRequest setVlanId(String vlanId)
public String getVlanId()
Copyright © 2024. All rights reserved.