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

com.aliyun.eas20210701.models.CreateAclPolicyRequest Maven / Gradle / Ivy

There is a newer version: 6.0.0
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.eas20210701.models;

import com.aliyun.tea.*;

public class CreateAclPolicyRequest extends TeaModel {
    /**
     * 

The whitelisted IP CIDR blocks in the VPC that can access the private gateway.

*

This parameter is required.

*/ @NameInMap("AclPolicyList") public java.util.List aclPolicyList; /** *

The ID of the virtual private cloud (VPC). For more information about how to obtain the VPC ID, see DescribeVpcs.

* * example: *

vpc-uf66uio7md****

*/ @NameInMap("VpcId") public String vpcId; public static CreateAclPolicyRequest build(java.util.Map map) throws Exception { CreateAclPolicyRequest self = new CreateAclPolicyRequest(); return TeaModel.build(map, self); } public CreateAclPolicyRequest setAclPolicyList(java.util.List aclPolicyList) { this.aclPolicyList = aclPolicyList; return this; } public java.util.List getAclPolicyList() { return this.aclPolicyList; } public CreateAclPolicyRequest setVpcId(String vpcId) { this.vpcId = vpcId; return this; } public String getVpcId() { return this.vpcId; } public static class CreateAclPolicyRequestAclPolicyList extends TeaModel { /** *

The comment on the IP CIDR block in the VPC that can access the private gateway.

* * example: *

default

*/ @NameInMap("Comment") public String comment; /** *

The IP CIDR block in the VPC that can access the private gateway.

*

This parameter is required.

* * example: *

10.23.XX.XX/32

*/ @NameInMap("Entry") public String entry; public static CreateAclPolicyRequestAclPolicyList build(java.util.Map map) throws Exception { CreateAclPolicyRequestAclPolicyList self = new CreateAclPolicyRequestAclPolicyList(); return TeaModel.build(map, self); } public CreateAclPolicyRequestAclPolicyList setComment(String comment) { this.comment = comment; return this; } public String getComment() { return this.comment; } public CreateAclPolicyRequestAclPolicyList setEntry(String entry) { this.entry = entry; return this; } public String getEntry() { return this.entry; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy