public static final class GrantInstanceToVbrRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
GrantInstanceToVbrRequest |
build() |
GrantInstanceToVbrRequest.Builder |
grantType(String grantType)
The VBRs that need to acquire permissions on the VPC.
|
GrantInstanceToVbrRequest.Builder |
instanceId(String instanceId)
The ID of the VPC.
|
GrantInstanceToVbrRequest.Builder |
regionId(String regionId)
The ID of the region where the VPC is deployed.
|
GrantInstanceToVbrRequest.Builder |
vbrInstanceIds(List<String> vbrInstanceIds)
The information about the VBRs.
|
GrantInstanceToVbrRequest.Builder |
vbrOwnerUid(Long vbrOwnerUid)
The ID of the Alibaba Cloud account to which the VBR belongs.
|
GrantInstanceToVbrRequest.Builder |
vbrRegionNo(String vbrRegionNo)
The ID of the region where the VBR is deployed.
|
public GrantInstanceToVbrRequest.Builder grantType(String grantType)
* **All**: Permissions on the VPC are granted to all VBRs that belong to the specified region and Alibaba Cloud account. In this case, you can leave **VbrInstanceIds** empty. * **Specify**: Permissions on the VPC are granted to the specified VBRs. **VbrInstanceIds** must be assigned a value.
public GrantInstanceToVbrRequest.Builder instanceId(String instanceId)
public GrantInstanceToVbrRequest.Builder regionId(String regionId)
You can call the [DescribeRegions](~~36063~~) operation to query the most recent region list.
public GrantInstanceToVbrRequest.Builder vbrInstanceIds(List<String> vbrInstanceIds)
public GrantInstanceToVbrRequest.Builder vbrOwnerUid(Long vbrOwnerUid)
public GrantInstanceToVbrRequest.Builder vbrRegionNo(String vbrRegionNo)
public GrantInstanceToVbrRequest build()
Copyright © 2024. All rights reserved.