public static final class GrantInstanceToCenRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
GrantInstanceToCenRequest |
build() |
GrantInstanceToCenRequest.Builder |
cenId(String cenId)
The ID of the CEN instance to which you want to grant permissions.
|
GrantInstanceToCenRequest.Builder |
cenOwnerId(Long cenOwnerId)
The user ID (UID) of the Apsara Stack tenant account to which the CEN instance belongs.
|
GrantInstanceToCenRequest.Builder |
clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
|
GrantInstanceToCenRequest.Builder |
instanceId(String instanceId)
The ID of the network instance.
|
GrantInstanceToCenRequest.Builder |
instanceType(String instanceType)
The type of the network instance.
|
GrantInstanceToCenRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
GrantInstanceToCenRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
GrantInstanceToCenRequest.Builder |
regionId(String regionId)
The ID of the region where the network instance is deployed.
|
GrantInstanceToCenRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
GrantInstanceToCenRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
public GrantInstanceToCenRequest.Builder cenId(String cenId)
public GrantInstanceToCenRequest.Builder cenOwnerId(Long cenOwnerId)
public GrantInstanceToCenRequest.Builder clientToken(String clientToken)
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. > 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.
public GrantInstanceToCenRequest.Builder instanceId(String instanceId)
public GrantInstanceToCenRequest.Builder instanceType(String instanceType)
* **VPC** * **VBR**
public GrantInstanceToCenRequest.Builder ownerAccount(String ownerAccount)
public GrantInstanceToCenRequest.Builder ownerId(Long ownerId)
public GrantInstanceToCenRequest.Builder regionId(String regionId)
You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.
public GrantInstanceToCenRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public GrantInstanceToCenRequest.Builder resourceOwnerId(Long resourceOwnerId)
public GrantInstanceToCenRequest build()
Copyright © 2024. All rights reserved.