public static final class CreateDBLinkRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
CreateDBLinkRequest |
build() |
CreateDBLinkRequest.Builder |
clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
|
CreateDBLinkRequest.Builder |
DBClusterId(String DBClusterId)
The ID of the source cluster that the database link connects.
|
CreateDBLinkRequest.Builder |
DBLinkName(String DBLinkName)
The name of the database link.
|
CreateDBLinkRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
CreateDBLinkRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
CreateDBLinkRequest.Builder |
regionId(String regionId)
The ID of the region.
|
CreateDBLinkRequest.Builder |
resourceGroupId(String resourceGroupId)
The ID of the resource group.
|
CreateDBLinkRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
CreateDBLinkRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
CreateDBLinkRequest.Builder |
sourceDBName(String sourceDBName)
The name of the source database.
|
CreateDBLinkRequest.Builder |
targetDBAccount(String targetDBAccount)
The account of the destination database.
|
CreateDBLinkRequest.Builder |
targetDBInstanceName(String targetDBInstanceName)
The ID of the destination cluster that the database link connects.
|
CreateDBLinkRequest.Builder |
targetDBName(String targetDBName)
The name of the destination database.
|
CreateDBLinkRequest.Builder |
targetDBPasswd(String targetDBPasswd)
The account password of the destination database.
|
CreateDBLinkRequest.Builder |
targetIp(String targetIp)
The IP address of the user-created Oracle database on an ECS instance.
|
CreateDBLinkRequest.Builder |
targetPort(String targetPort)
The port number of the user-created Oracle database on an ECS instance.
|
CreateDBLinkRequest.Builder |
vpcId(String vpcId)
The ID of the virtual private cloud (VPC).
|
public CreateDBLinkRequest.Builder clientToken(String clientToken)
public CreateDBLinkRequest.Builder DBClusterId(String DBClusterId)
> You can call the [DescribeDBClusters](~~173433~~) operation to query PolarDB clusters.
public CreateDBLinkRequest.Builder DBLinkName(String DBLinkName)
* The name must contain lowercase letters and can also contain digits and underscores (\_). * The name must start with a letter and end with a letter or digit. * The name must be 1 to 64 characters in length.
public CreateDBLinkRequest.Builder ownerAccount(String ownerAccount)
public CreateDBLinkRequest.Builder ownerId(Long ownerId)
public CreateDBLinkRequest.Builder regionId(String regionId)
> You can call the [DescribeRegions](~~98041~~) operation to query information about regions.
public CreateDBLinkRequest.Builder resourceGroupId(String resourceGroupId)
public CreateDBLinkRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public CreateDBLinkRequest.Builder resourceOwnerId(Long resourceOwnerId)
public CreateDBLinkRequest.Builder sourceDBName(String sourceDBName)
> You can call the [DescribeDatabases](~~173558~~) operation to query information about databases in a PolarDB cluster.
public CreateDBLinkRequest.Builder targetDBAccount(String targetDBAccount)
> You can call the [DescribeAccounts](~~173549~~) operation to query the account of a PolarDB cluster.
public CreateDBLinkRequest.Builder targetDBInstanceName(String targetDBInstanceName)
> * If the destination cluster is a user-created Oracle database on an ECS instance, set the value to `null`. > * You can call the [DescribeDBClusters](~~173433~~) operation to query PolarDB clusters.
public CreateDBLinkRequest.Builder targetDBName(String targetDBName)
> You can call the [DescribeDatabases](~~173558~~) operation to query information about databases in a PolarDB cluster.
public CreateDBLinkRequest.Builder targetDBPasswd(String targetDBPasswd)
public CreateDBLinkRequest.Builder targetIp(String targetIp)
public CreateDBLinkRequest.Builder targetPort(String targetPort)
public CreateDBLinkRequest.Builder vpcId(String vpcId)
> You can call the [DescribeVpcs](~~35739~~) operation to query information about VPCs.
public CreateDBLinkRequest build()
Copyright © 2024. All rights reserved.