com.aliyun.polardb20170801.models.ModifyGlobalDatabaseNetworkRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of polardb20170801 Show documentation
Show all versions of polardb20170801 Show documentation
Alibaba Cloud ApsaraDB for POLARDB (20170801) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.polardb20170801.models;
import com.aliyun.tea.*;
public class ModifyGlobalDatabaseNetworkRequest extends TeaModel {
@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;
/**
* The ID of the GDN.
* This parameter is required.
*
* example:
* gdn-bp1fttxsrmv*****
*/
@NameInMap("GDNId")
public String GDNId;
@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 ModifyGlobalDatabaseNetworkRequest build(java.util.Map map) throws Exception {
ModifyGlobalDatabaseNetworkRequest self = new ModifyGlobalDatabaseNetworkRequest();
return TeaModel.build(map, self);
}
public ModifyGlobalDatabaseNetworkRequest setEnableGlobalDomainName(Boolean enableGlobalDomainName) {
this.enableGlobalDomainName = enableGlobalDomainName;
return this;
}
public Boolean getEnableGlobalDomainName() {
return this.enableGlobalDomainName;
}
public ModifyGlobalDatabaseNetworkRequest setGDNDescription(String GDNDescription) {
this.GDNDescription = GDNDescription;
return this;
}
public String getGDNDescription() {
return this.GDNDescription;
}
public ModifyGlobalDatabaseNetworkRequest setGDNId(String GDNId) {
this.GDNId = GDNId;
return this;
}
public String getGDNId() {
return this.GDNId;
}
public ModifyGlobalDatabaseNetworkRequest setOwnerAccount(String ownerAccount) {
this.ownerAccount = ownerAccount;
return this;
}
public String getOwnerAccount() {
return this.ownerAccount;
}
public ModifyGlobalDatabaseNetworkRequest setOwnerId(Long ownerId) {
this.ownerId = ownerId;
return this;
}
public Long getOwnerId() {
return this.ownerId;
}
public ModifyGlobalDatabaseNetworkRequest setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public ModifyGlobalDatabaseNetworkRequest setResourceOwnerAccount(String resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
return this;
}
public String getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}
public ModifyGlobalDatabaseNetworkRequest setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
return this;
}
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public ModifyGlobalDatabaseNetworkRequest setSecurityToken(String securityToken) {
this.securityToken = securityToken;
return this;
}
public String getSecurityToken() {
return this.securityToken;
}
}