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

com.aliyun.sdk.service.ens20171110.models.DescribeNetworkAclsRequest 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 DescribeNetworkAclsRequest} extends {@link RequestModel}
 *
 * 

DescribeNetworkAclsRequest

*/ public class DescribeNetworkAclsRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NetworkAclId") private String networkAclId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("NetworkAclName") private String networkAclName; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageNumber") private String pageNumber; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("PageSize") private String pageSize; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("ResourceId") private String resourceId; private DescribeNetworkAclsRequest(Builder builder) { super(builder); this.networkAclId = builder.networkAclId; this.networkAclName = builder.networkAclName; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.resourceId = builder.resourceId; } public static Builder builder() { return new Builder(); } public static DescribeNetworkAclsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return networkAclId */ public String getNetworkAclId() { return this.networkAclId; } /** * @return networkAclName */ public String getNetworkAclName() { return this.networkAclName; } /** * @return pageNumber */ public String getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public String getPageSize() { return this.pageSize; } /** * @return resourceId */ public String getResourceId() { return this.resourceId; } public static final class Builder extends Request.Builder { private String networkAclId; private String networkAclName; private String pageNumber; private String pageSize; private String resourceId; private Builder() { super(); } private Builder(DescribeNetworkAclsRequest request) { super(request); this.networkAclId = request.networkAclId; this.networkAclName = request.networkAclName; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.resourceId = request.resourceId; } /** *

The ID of the network ACL.

* * example: *

nacl-bp1lhl0taikrbgnh****

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

The name of the network ACL.

* * example: *

acl-1

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

The page number. Pages start from page 1. Default value: 1.

* * example: *

1

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

The number of entries per page. Maximum value: 50. Default value: 10.

* * example: *

10

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

The ID of the associated instance.

* * example: *

n-5****

*/ public Builder resourceId(String resourceId) { this.putQueryParameter("ResourceId", resourceId); this.resourceId = resourceId; return this; } @Override public DescribeNetworkAclsRequest build() { return new DescribeNetworkAclsRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy