com.aliyun.sdk.service.polardb20170801.models.ModifyGlobalSecurityIPGroupRelationResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-polardb20170801 Show documentation
Show all versions of alibabacloud-polardb20170801 Show documentation
Alibaba Cloud polardb (20170801) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.polardb20170801.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ModifyGlobalSecurityIPGroupRelationResponseBody} extends {@link TeaModel}
*
* ModifyGlobalSecurityIPGroupRelationResponseBody
*/
public class ModifyGlobalSecurityIPGroupRelationResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DBClusterId")
private String DBClusterId;
@com.aliyun.core.annotation.NameInMap("GlobalSecurityIPGroupRel")
private java.util.List globalSecurityIPGroupRel;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
private ModifyGlobalSecurityIPGroupRelationResponseBody(Builder builder) {
this.DBClusterId = builder.DBClusterId;
this.globalSecurityIPGroupRel = builder.globalSecurityIPGroupRel;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static ModifyGlobalSecurityIPGroupRelationResponseBody create() {
return builder().build();
}
/**
* @return DBClusterId
*/
public String getDBClusterId() {
return this.DBClusterId;
}
/**
* @return globalSecurityIPGroupRel
*/
public java.util.List getGlobalSecurityIPGroupRel() {
return this.globalSecurityIPGroupRel;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String DBClusterId;
private java.util.List globalSecurityIPGroupRel;
private String requestId;
/**
* The ID of the cluster.
*
* example:
* pc-*****************
*/
public Builder DBClusterId(String DBClusterId) {
this.DBClusterId = DBClusterId;
return this;
}
/**
* The details of the global IP whitelist template.
*/
public Builder globalSecurityIPGroupRel(java.util.List globalSecurityIPGroupRel) {
this.globalSecurityIPGroupRel = globalSecurityIPGroupRel;
return this;
}
/**
* The ID of the request.
*
* example:
* 9B7BFB11-C077-4FE3-B051-F69CEB******
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public ModifyGlobalSecurityIPGroupRelationResponseBody build() {
return new ModifyGlobalSecurityIPGroupRelationResponseBody(this);
}
}
/**
*
* {@link ModifyGlobalSecurityIPGroupRelationResponseBody} extends {@link TeaModel}
*
* ModifyGlobalSecurityIPGroupRelationResponseBody
*/
public static class GlobalSecurityIPGroupRel extends TeaModel {
@com.aliyun.core.annotation.NameInMap("GIpList")
private String gIpList;
@com.aliyun.core.annotation.NameInMap("GlobalIgName")
private String globalIgName;
@com.aliyun.core.annotation.NameInMap("GlobalSecurityGroupId")
private String globalSecurityGroupId;
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
private GlobalSecurityIPGroupRel(Builder builder) {
this.gIpList = builder.gIpList;
this.globalIgName = builder.globalIgName;
this.globalSecurityGroupId = builder.globalSecurityGroupId;
this.regionId = builder.regionId;
}
public static Builder builder() {
return new Builder();
}
public static GlobalSecurityIPGroupRel create() {
return builder().build();
}
/**
* @return gIpList
*/
public String getGIpList() {
return this.gIpList;
}
/**
* @return globalIgName
*/
public String getGlobalIgName() {
return this.globalIgName;
}
/**
* @return globalSecurityGroupId
*/
public String getGlobalSecurityGroupId() {
return this.globalSecurityGroupId;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
public static final class Builder {
private String gIpList;
private String globalIgName;
private String globalSecurityGroupId;
private String regionId;
/**
* The IP address in the 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
*/
public Builder gIpList(String gIpList) {
this.gIpList = gIpList;
return this;
}
/**
* The name of the 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
*/
public Builder globalIgName(String globalIgName) {
this.globalIgName = globalIgName;
return this;
}
/**
* The ID of the IP whitelist template.
*
* example:
* g-zsldxfiwjmti0kcm****
*/
public Builder globalSecurityGroupId(String globalSecurityGroupId) {
this.globalSecurityGroupId = globalSecurityGroupId;
return this;
}
/**
* The ID of the region.
*
* example:
* cn-hangzhou
*/
public Builder regionId(String regionId) {
this.regionId = regionId;
return this;
}
public GlobalSecurityIPGroupRel build() {
return new GlobalSecurityIPGroupRel(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy