com.aliyun.polardb20170801.models.DescribeGlobalSecurityIPGroupResponseBody 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 DescribeGlobalSecurityIPGroupResponseBody extends TeaModel {
/**
* The details of the global IP whitelist template.
*/
@NameInMap("GlobalSecurityIPGroup")
public java.util.List globalSecurityIPGroup;
/**
* The ID of the request.
*
* example:
* 9B7BFB11-C077-4FE3-B051-F69CEB******
*/
@NameInMap("RequestId")
public String requestId;
public static DescribeGlobalSecurityIPGroupResponseBody build(java.util.Map map) throws Exception {
DescribeGlobalSecurityIPGroupResponseBody self = new DescribeGlobalSecurityIPGroupResponseBody();
return TeaModel.build(map, self);
}
public DescribeGlobalSecurityIPGroupResponseBody setGlobalSecurityIPGroup(java.util.List globalSecurityIPGroup) {
this.globalSecurityIPGroup = globalSecurityIPGroup;
return this;
}
public java.util.List getGlobalSecurityIPGroup() {
return this.globalSecurityIPGroup;
}
public DescribeGlobalSecurityIPGroupResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public static class DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup extends TeaModel {
/**
* The details of the clusters that are associated with the global IP address whitelist template.
*/
@NameInMap("DBInstances")
public java.util.List DBInstances;
/**
* The IP address in the global IP whitelist template.
*
* Separate multiple IP addresses with commas (,). You can add up to 1,000 IP addresses or CIDR blocks to all IP whitelists.
*
*
* example:
* 192.168.0.1
*/
@NameInMap("GIpList")
public String GIpList;
/**
* The name of the global IP whitelist template. The name must meet the following requirements:
*
* - The name can contain lowercase letters, digits, and underscores (_).
* - The name must start with a letter and end with a letter or a digit.
* - The name must be 2 to 120 characters in length.
*
*
* example:
* test_123
*/
@NameInMap("GlobalIgName")
public String globalIgName;
/**
* The ID of the global IP whitelist template.
*
* example:
* g-zsldxfiwjmti0kcm****
*/
@NameInMap("GlobalSecurityGroupId")
public String globalSecurityGroupId;
/**
* The ID of the region.
*
* example:
* cn-hangzhou
*/
@NameInMap("RegionId")
public String regionId;
public static DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup build(java.util.Map map) throws Exception {
DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup self = new DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup();
return TeaModel.build(map, self);
}
public DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup setDBInstances(java.util.List DBInstances) {
this.DBInstances = DBInstances;
return this;
}
public java.util.List getDBInstances() {
return this.DBInstances;
}
public DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup setGIpList(String GIpList) {
this.GIpList = GIpList;
return this;
}
public String getGIpList() {
return this.GIpList;
}
public DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup setGlobalIgName(String globalIgName) {
this.globalIgName = globalIgName;
return this;
}
public String getGlobalIgName() {
return this.globalIgName;
}
public DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup setGlobalSecurityGroupId(String globalSecurityGroupId) {
this.globalSecurityGroupId = globalSecurityGroupId;
return this;
}
public String getGlobalSecurityGroupId() {
return this.globalSecurityGroupId;
}
public DescribeGlobalSecurityIPGroupResponseBodyGlobalSecurityIPGroup setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
}
}