All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.polardb20170801.models.ModifyGlobalSecurityIPGroupResponseBody Maven / Gradle / Ivy

There is a newer version: 4.0.28
Show newest version
// 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 ModifyGlobalSecurityIPGroupResponseBody} extends {@link TeaModel}
 *
 * 

ModifyGlobalSecurityIPGroupResponseBody

*/ public class ModifyGlobalSecurityIPGroupResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("GlobalSecurityIPGroup") private java.util.List globalSecurityIPGroup; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private ModifyGlobalSecurityIPGroupResponseBody(Builder builder) { this.globalSecurityIPGroup = builder.globalSecurityIPGroup; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static ModifyGlobalSecurityIPGroupResponseBody create() { return builder().build(); } /** * @return globalSecurityIPGroup */ public java.util.List getGlobalSecurityIPGroup() { return this.globalSecurityIPGroup; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List globalSecurityIPGroup; private String requestId; /** *

The details of the global IP whitelist template.

*/ public Builder globalSecurityIPGroup(java.util.List globalSecurityIPGroup) { this.globalSecurityIPGroup = globalSecurityIPGroup; return this; } /** *

The ID of the request.

* * example: *

9B7BFB11-C077-4FE3-B051-F69CEB******

*/ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public ModifyGlobalSecurityIPGroupResponseBody build() { return new ModifyGlobalSecurityIPGroupResponseBody(this); } } /** * * {@link ModifyGlobalSecurityIPGroupResponseBody} extends {@link TeaModel} * *

ModifyGlobalSecurityIPGroupResponseBody

*/ public static class GlobalSecurityIPGroup extends TeaModel { @com.aliyun.core.annotation.NameInMap("DBInstances") private java.util.List DBInstances; @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 GlobalSecurityIPGroup(Builder builder) { this.DBInstances = builder.DBInstances; 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 GlobalSecurityIPGroup create() { return builder().build(); } /** * @return DBInstances */ public java.util.List getDBInstances() { return this.DBInstances; } /** * @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 java.util.List DBInstances; private String gIpList; private String globalIgName; private String globalSecurityGroupId; private String regionId; /** *

The clusters that are associated with the IP address whitelist template.

*/ public Builder DBInstances(java.util.List DBInstances) { this.DBInstances = DBInstances; return this; } /** *

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 GlobalSecurityIPGroup build() { return new GlobalSecurityIPGroup(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy