public class ModifyVpnGatewayAttributeRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
Boolean |
autoPropagate
Specifies whether to automatically advertise BGP routes to the virtual private cloud (VPC).
|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
String |
description
The new description of the VPN gateway.
|
String |
name
The new name of the VPN gateway.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The ID of the region where the VPN gateway is created.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
vpnGatewayId
The ID of the VPN gateway.
|
构造器和说明 |
---|
ModifyVpnGatewayAttributeRequest() |
@NameInMap(value="AutoPropagate") public Boolean autoPropagate
Specifies whether to automatically advertise BGP routes to the virtual private cloud (VPC). Valid values:
true
@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 token, but you must make sure that the token is unique among different requests. The client token can contain only ASCII characters.
example:If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request.
123e4567-e89b-12d3-a456-4266****
@NameInMap(value="Description") public String description
The new description of the VPN gateway.
The description must be 1 to 100 characters in length and cannot start with http://
or https://
.
test
@NameInMap(value="Name") public String name
The new name of the VPN gateway.
The name must be 2 to 100 characters in length and cannot start with http://
or https://
. It must start with a letter and can contain letters, digits, underscores (_), hyphens (-), and periods (.). Other characters are not supported.
myvpn
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The ID of the region where the VPN gateway is created. You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-shanghai
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="VpnGatewayId") public String vpnGatewayId
The ID of the VPN gateway.
This parameter is required.
example:vpn-bp1q8bgx4xnkm2ogj****
public static ModifyVpnGatewayAttributeRequest build(Map<String,?> map) throws Exception
Exception
public ModifyVpnGatewayAttributeRequest setAutoPropagate(Boolean autoPropagate)
public Boolean getAutoPropagate()
public ModifyVpnGatewayAttributeRequest setClientToken(String clientToken)
public String getClientToken()
public ModifyVpnGatewayAttributeRequest setDescription(String description)
public String getDescription()
public ModifyVpnGatewayAttributeRequest setName(String name)
public String getName()
public ModifyVpnGatewayAttributeRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public ModifyVpnGatewayAttributeRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public ModifyVpnGatewayAttributeRequest setRegionId(String regionId)
public String getRegionId()
public ModifyVpnGatewayAttributeRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public ModifyVpnGatewayAttributeRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public ModifyVpnGatewayAttributeRequest setVpnGatewayId(String vpnGatewayId)
public String getVpnGatewayId()
Copyright © 2024. All rights reserved.