![JAR search and dependency download from the Maven repository](/logo.png)
com.aliyun.polardb20170801.models.CreateGlobalDatabaseNetworkRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.polardb20170801.models;
import com.aliyun.tea.*;
public class CreateGlobalDatabaseNetworkRequest extends TeaModel {
/**
* The ID of the primary cluster.
* This parameter is required.
*
* example:
* pc-bp1q76364ird*****
*/
@NameInMap("DBClusterId")
public String DBClusterId;
@NameInMap("EnableGlobalDomainName")
public Boolean enableGlobalDomainName;
/**
* The description of the GDN. The description must meet the following requirements:
*
* - It cannot start with http:// or https://.
* - It must start with a letter.
* - It can contain letters, digits, underscores (_), and hyphens (-).
* - It must be 2 to 126 characters in length.
*
*
* example:
* GDN-fortest
*/
@NameInMap("GDNDescription")
public String GDNDescription;
@NameInMap("OwnerAccount")
public String ownerAccount;
@NameInMap("OwnerId")
public Long ownerId;
/**
* The ID of the resource group.
*
* example:
* rg-************
*/
@NameInMap("ResourceGroupId")
public String resourceGroupId;
@NameInMap("ResourceOwnerAccount")
public String resourceOwnerAccount;
@NameInMap("ResourceOwnerId")
public Long resourceOwnerId;
@NameInMap("SecurityToken")
public String securityToken;
public static CreateGlobalDatabaseNetworkRequest build(java.util.Map map) throws Exception {
CreateGlobalDatabaseNetworkRequest self = new CreateGlobalDatabaseNetworkRequest();
return TeaModel.build(map, self);
}
public CreateGlobalDatabaseNetworkRequest setDBClusterId(String DBClusterId) {
this.DBClusterId = DBClusterId;
return this;
}
public String getDBClusterId() {
return this.DBClusterId;
}
public CreateGlobalDatabaseNetworkRequest setEnableGlobalDomainName(Boolean enableGlobalDomainName) {
this.enableGlobalDomainName = enableGlobalDomainName;
return this;
}
public Boolean getEnableGlobalDomainName() {
return this.enableGlobalDomainName;
}
public CreateGlobalDatabaseNetworkRequest setGDNDescription(String GDNDescription) {
this.GDNDescription = GDNDescription;
return this;
}
public String getGDNDescription() {
return this.GDNDescription;
}
public CreateGlobalDatabaseNetworkRequest setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
return this;
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public CreateGlobalDatabaseNetworkRequest setOwnerId(Long ownerId) {
this.ownerId = ownerId;
return this;
}
public Long getOwnerId() {
return this.ownerId;
}
public CreateGlobalDatabaseNetworkRequest setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public CreateGlobalDatabaseNetworkRequest setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public CreateGlobalDatabaseNetworkRequest setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
return this;
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public CreateGlobalDatabaseNetworkRequest setSecurityToken(String securityToken) {
this.securityToken = securityToken;
return this;
}
public String getSecurityToken() {
return this.securityToken;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy