public class ModifyCustomerGatewayAttributeRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
authKey
The authentication key of the BGP routing protocol for the gateway device in the data center.
|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
String |
customerGatewayId
The ID of the customer gateway.
|
String |
description
The description of the customer gateway.
|
String |
name
The name of the customer gateway.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The ID of the region where the customer gateway is deployed.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
构造器和说明 |
---|
ModifyCustomerGatewayAttributeRequest() |
@NameInMap(value="AuthKey") public String authKey
The authentication key of the BGP routing protocol for the gateway device in the data center.
The key must be 1 to 64 characters in length. It can contain only ASCII characters and cannot contain spaces or question marks (?).
example:AuthKey****
@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.
02fb3da4-130e-11e9-8e44****
@NameInMap(value="CustomerGatewayId") public String customerGatewayId
The ID of the customer gateway.
This parameter is required.
example:cgw-bp1pvpl9r9adju6l5****
@NameInMap(value="Description") public String description
The description of the customer gateway.
The description must be 1 to 100 characters in length, and cannot start with http://
or https://
.
desctest
@NameInMap(value="Name") public String name
The name of the customer gateway.
The name must be 1 to 100 characters in length, and cannot start with http://
or https://
.
nametest
@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 customer gateway is deployed.
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
public static ModifyCustomerGatewayAttributeRequest build(Map<String,?> map) throws Exception
Exception
public ModifyCustomerGatewayAttributeRequest setAuthKey(String authKey)
public String getAuthKey()
public ModifyCustomerGatewayAttributeRequest setClientToken(String clientToken)
public String getClientToken()
public ModifyCustomerGatewayAttributeRequest setCustomerGatewayId(String customerGatewayId)
public String getCustomerGatewayId()
public ModifyCustomerGatewayAttributeRequest setDescription(String description)
public String getDescription()
public ModifyCustomerGatewayAttributeRequest setName(String name)
public String getName()
public ModifyCustomerGatewayAttributeRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public ModifyCustomerGatewayAttributeRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public ModifyCustomerGatewayAttributeRequest setRegionId(String regionId)
public String getRegionId()
public ModifyCustomerGatewayAttributeRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public ModifyCustomerGatewayAttributeRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
Copyright © 2024. All rights reserved.