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

com.aliyun.sdk.service.ens20171110.models.CreateNetworkAclRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ens20171110.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 CreateNetworkAclRequest} extends {@link RequestModel}
 *
 * 

CreateNetworkAclRequest

*/ public class CreateNetworkAclRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NetworkAclName") private String networkAclName; private CreateNetworkAclRequest(Builder builder) { super(builder); this.description = builder.description; this.networkAclName = builder.networkAclName; } public static Builder builder() { return new Builder(); } public static CreateNetworkAclRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return description */ public String getDescription() { return this.description; } /** * @return networkAclName */ public String getNetworkAclName() { return this.networkAclName; } public static final class Builder extends Request.Builder { private String description; private String networkAclName; private Builder() { super(); } private Builder(CreateNetworkAclRequest request) { super(request); this.description = request.description; this.networkAclName = request.networkAclName; } /** *

The description of the network ACL.

*

The description must be 1 to 256 characters in length and cannot start with http:// or https://.

* * example: *

This is my NetworkAcl.

*/ public Builder description(String description) { this.putQueryParameter("Description", description); this.description = description; return this; } /** *

Enter a name for the network ACL.

*

The name must be 1 to 128 characters in length and cannot start with http:// or https://.

* * example: *

acl-1

*/ public Builder networkAclName(String networkAclName) { this.putQueryParameter("NetworkAclName", networkAclName); this.networkAclName = networkAclName; return this; } @Override public CreateNetworkAclRequest build() { return new CreateNetworkAclRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy