public class GrantInstanceToCenRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
cenId
The ID of the CEN instance to which you want to grant permissions.
|
Long |
cenOwnerId
The user ID (UID) of the Apsara Stack tenant account to which the CEN instance belongs.
|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
String |
instanceId
The ID of the network instance.
|
String |
instanceType
The type of the network instance.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The ID of the region where the network instance is deployed.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
构造器和说明 |
---|
GrantInstanceToCenRequest() |
限定符和类型 | 方法和说明 |
---|---|
static GrantInstanceToCenRequest |
build(Map<String,?> map) |
String |
getCenId() |
Long |
getCenOwnerId() |
String |
getClientToken() |
String |
getInstanceId() |
String |
getInstanceType() |
String |
getOwnerAccount() |
Long |
getOwnerId() |
String |
getRegionId() |
String |
getResourceOwnerAccount() |
Long |
getResourceOwnerId() |
GrantInstanceToCenRequest |
setCenId(String cenId) |
GrantInstanceToCenRequest |
setCenOwnerId(Long cenOwnerId) |
GrantInstanceToCenRequest |
setClientToken(String clientToken) |
GrantInstanceToCenRequest |
setInstanceId(String instanceId) |
GrantInstanceToCenRequest |
setInstanceType(String instanceType) |
GrantInstanceToCenRequest |
setOwnerAccount(String ownerAccount) |
GrantInstanceToCenRequest |
setOwnerId(Long ownerId) |
GrantInstanceToCenRequest |
setRegionId(String regionId) |
GrantInstanceToCenRequest |
setResourceOwnerAccount(String resourceOwnerAccount) |
GrantInstanceToCenRequest |
setResourceOwnerId(Long resourceOwnerId) |
@NameInMap(value="CenId") public String cenId
The ID of the CEN instance to which you want to grant permissions.
This parameter is required.
example:cen-7qthudw0ll6jmc****
@NameInMap(value="CenOwnerId") public Long cenOwnerId
The user ID (UID) of the Apsara Stack tenant account to which the CEN instance belongs.
This parameter is required.
example:123456789
@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 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.
0c593ea1-3bea-11e9-b96b-88e9fe637760
@NameInMap(value="InstanceId") public String instanceId
The ID of the network instance.
This parameter is required.
example:vpc-uf6o8d1dj8sjwxi6o****
@NameInMap(value="InstanceType") public String instanceType
The type of the network instance. Valid values:
This parameter is required.
example:VPC
@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 network instance is deployed.
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
public static GrantInstanceToCenRequest build(Map<String,?> map) throws Exception
Exception
public GrantInstanceToCenRequest setCenId(String cenId)
public String getCenId()
public GrantInstanceToCenRequest setCenOwnerId(Long cenOwnerId)
public Long getCenOwnerId()
public GrantInstanceToCenRequest setClientToken(String clientToken)
public String getClientToken()
public GrantInstanceToCenRequest setInstanceId(String instanceId)
public String getInstanceId()
public GrantInstanceToCenRequest setInstanceType(String instanceType)
public String getInstanceType()
public GrantInstanceToCenRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public GrantInstanceToCenRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public GrantInstanceToCenRequest setRegionId(String regionId)
public String getRegionId()
public GrantInstanceToCenRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public GrantInstanceToCenRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
Copyright © 2024. All rights reserved.