public static final class CreateVbrHaRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
CreateVbrHaRequest |
build() |
CreateVbrHaRequest.Builder |
clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
|
CreateVbrHaRequest.Builder |
description(String description)
The description of the VBR failover group.
|
CreateVbrHaRequest.Builder |
dryRun(Boolean dryRun)
Specifies whether to perform only a dry run, without performing the actual request.
|
CreateVbrHaRequest.Builder |
name(String name)
The name of the VBR failover group.
|
CreateVbrHaRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
CreateVbrHaRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
CreateVbrHaRequest.Builder |
peerVbrId(String peerVbrId)
The ID of the other VBR in the VBR failover group.
|
CreateVbrHaRequest.Builder |
regionId(String regionId)
The ID of the region in which the VBR is deployed.
|
CreateVbrHaRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
CreateVbrHaRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
CreateVbrHaRequest.Builder |
vbrId(String vbrId)
The ID of the VBR.
|
public CreateVbrHaRequest.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 CreateVbrHaRequest.Builder description(String description)
The description must be 2 to 256 characters in length. It must start with a letter but cannot start with `http://` or `https://`.
public CreateVbrHaRequest.Builder dryRun(Boolean dryRun)
* **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and instance status. If the request fails the dry run, an error message is returned. If the request passes the dry run, `DRYRUN.SUCCESS` is returned. * **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, the operation is performed.
public CreateVbrHaRequest.Builder name(String name)
public CreateVbrHaRequest.Builder ownerAccount(String ownerAccount)
public CreateVbrHaRequest.Builder ownerId(Long ownerId)
public CreateVbrHaRequest.Builder peerVbrId(String peerVbrId)
public CreateVbrHaRequest.Builder regionId(String regionId)
public CreateVbrHaRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public CreateVbrHaRequest.Builder resourceOwnerId(Long resourceOwnerId)
public CreateVbrHaRequest.Builder vbrId(String vbrId)
public CreateVbrHaRequest build()
Copyright © 2024. All rights reserved.