com.aliyun.rds20140815.models.CreateReplicationLinkRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rds20140815 Show documentation
Show all versions of rds20140815 Show documentation
Alibaba Cloud rds (20140815) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.rds20140815.models;
import com.aliyun.tea.*;
public class CreateReplicationLinkRequest extends TeaModel {
/**
* This parameter is required.
*
* example:
* pgm-bp1trqb4p1xd****
*/
@NameInMap("DBInstanceId")
public String DBInstanceId;
/**
* This parameter is required.
*
* example:
* false
*/
@NameInMap("DryRun")
public Boolean dryRun;
/**
* example:
* testdbuser
*/
@NameInMap("ReplicatorAccount")
public String replicatorAccount;
/**
* example:
* testpassword
*/
@NameInMap("ReplicatorPassword")
public String replicatorPassword;
/**
* example:
* pgm-****.pg.rds.aliyuncs.com
*/
@NameInMap("SourceAddress")
public String sourceAddress;
/**
* example:
* aliyunRDS
*/
@NameInMap("SourceCategory")
public String sourceCategory;
/**
* example:
* testInstance
*/
@NameInMap("SourceInstanceName")
public String sourceInstanceName;
/**
* example:
* cn-hangzhou
*/
@NameInMap("SourceInstanceRegionId")
public String sourceInstanceRegionId;
/**
* example:
* 5432
*/
@NameInMap("SourcePort")
public Long sourcePort;
/**
* example:
* 439946016
*/
@NameInMap("TaskId")
public Long taskId;
/**
* example:
* test01
*/
@NameInMap("TaskName")
public String taskName;
public static CreateReplicationLinkRequest build(java.util.Map map) throws Exception {
CreateReplicationLinkRequest self = new CreateReplicationLinkRequest();
return TeaModel.build(map, self);
}
public CreateReplicationLinkRequest setDBInstanceId(String DBInstanceId) {
this.DBInstanceId = DBInstanceId;
return this;
}
public String getDBInstanceId() {
return this.DBInstanceId;
}
public CreateReplicationLinkRequest setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
return this;
}
public Boolean getDryRun() {
return this.dryRun;
}
public CreateReplicationLinkRequest setReplicatorAccount(String replicatorAccount) {
this.replicatorAccount = replicatorAccount;
return this;
}
public String getReplicatorAccount() {
return this.replicatorAccount;
}
public CreateReplicationLinkRequest setReplicatorPassword(String replicatorPassword) {
this.replicatorPassword = replicatorPassword;
return this;
}
public String getReplicatorPassword() {
return this.replicatorPassword;
}
public CreateReplicationLinkRequest setSourceAddress(String sourceAddress) {
this.sourceAddress = sourceAddress;
return this;
}
public String getSourceAddress() {
return this.sourceAddress;
}
public CreateReplicationLinkRequest setSourceCategory(String sourceCategory) {
this.sourceCategory = sourceCategory;
return this;
}
public String getSourceCategory() {
return this.sourceCategory;
}
public CreateReplicationLinkRequest setSourceInstanceName(String sourceInstanceName) {
this.sourceInstanceName = sourceInstanceName;
return this;
}
public String getSourceInstanceName() {
return this.sourceInstanceName;
}
public CreateReplicationLinkRequest setSourceInstanceRegionId(String sourceInstanceRegionId) {
this.sourceInstanceRegionId = sourceInstanceRegionId;
return this;
}
public String getSourceInstanceRegionId() {
return this.sourceInstanceRegionId;
}
public CreateReplicationLinkRequest setSourcePort(Long sourcePort) {
this.sourcePort = sourcePort;
return this;
}
public Long getSourcePort() {
return this.sourcePort;
}
public CreateReplicationLinkRequest setTaskId(Long taskId) {
this.taskId = taskId;
return this;
}
public Long getTaskId() {
return this.taskId;
}
public CreateReplicationLinkRequest setTaskName(String taskName) {
this.taskName = taskName;
return this;
}
public String getTaskName() {
return this.taskName;
}
}