public class CreateVbrHaRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
String |
description
The description of the VBR failover group.
|
Boolean |
dryRun
Specifies whether to perform only a dry run, without performing the actual request.
|
String |
name
The name of the VBR failover group.
|
String |
ownerAccount |
Long |
ownerId |
String |
peerVbrId
The ID of the other VBR in the VBR failover group.
|
String |
regionId
The ID of the region in which the VBR is deployed.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
vbrId
The ID of the VBR.
|
构造器和说明 |
---|
CreateVbrHaRequest() |
限定符和类型 | 方法和说明 |
---|---|
static CreateVbrHaRequest |
build(Map<String,?> map) |
String |
getClientToken() |
String |
getDescription() |
Boolean |
getDryRun() |
String |
getName() |
String |
getOwnerAccount() |
Long |
getOwnerId() |
String |
getPeerVbrId() |
String |
getRegionId() |
String |
getResourceOwnerAccount() |
Long |
getResourceOwnerId() |
String |
getVbrId() |
CreateVbrHaRequest |
setClientToken(String clientToken) |
CreateVbrHaRequest |
setDescription(String description) |
CreateVbrHaRequest |
setDryRun(Boolean dryRun) |
CreateVbrHaRequest |
setName(String name) |
CreateVbrHaRequest |
setOwnerAccount(String ownerAccount) |
CreateVbrHaRequest |
setOwnerId(Long ownerId) |
CreateVbrHaRequest |
setPeerVbrId(String peerVbrId) |
CreateVbrHaRequest |
setRegionId(String regionId) |
CreateVbrHaRequest |
setResourceOwnerAccount(String resourceOwnerAccount) |
CreateVbrHaRequest |
setResourceOwnerId(Long resourceOwnerId) |
CreateVbrHaRequest |
setVbrId(String vbrId) |
@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.
CBCE910E-D396-4944-8****
@NameInMap(value="Description") public String description
The description of the VBR failover group.
The description must be 2 to 256 characters in length. It must start with a letter but cannot start with http://
or https://
.
VBRHa
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether to perform only a dry run, without performing the actual request. Valid values: Valid Values:
DRYRUN.SUCCESS
is returned.false
@NameInMap(value="Name") public String name
The name of the VBR failover group.
example:VBRHa
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="PeerVbrId") public String peerVbrId
The ID of the other VBR in the VBR failover group.
This parameter is required.
example:vbr-bp12mw1f8k3jgygk9****
@NameInMap(value="RegionId") public String regionId
The ID of the region in which the VBR is deployed.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="VbrId") public String vbrId
The ID of the VBR.
This parameter is required.
example:vbr-bp1jcg5cmxjbl9xgc****
public static CreateVbrHaRequest build(Map<String,?> map) throws Exception
Exception
public CreateVbrHaRequest setClientToken(String clientToken)
public String getClientToken()
public CreateVbrHaRequest setDescription(String description)
public String getDescription()
public CreateVbrHaRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public CreateVbrHaRequest setName(String name)
public String getName()
public CreateVbrHaRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public CreateVbrHaRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public CreateVbrHaRequest setPeerVbrId(String peerVbrId)
public String getPeerVbrId()
public CreateVbrHaRequest setRegionId(String regionId)
public String getRegionId()
public CreateVbrHaRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public CreateVbrHaRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public CreateVbrHaRequest setVbrId(String vbrId)
public String getVbrId()
Copyright © 2024. All rights reserved.