com.aliyun.ens20171110.models.DescribeSecurityGroupsRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ens20171110.models;
import com.aliyun.tea.*;
public class DescribeSecurityGroupsRequest extends TeaModel {
/**
* The page number.
*
* - Pages start from page 1.
* - Default value: 1.
*
*
* example:
* 1
*/
@NameInMap("PageNumber")
public Integer pageNumber;
/**
* The number of entries to return on each page.
*
* - Maximum value: 50.
* - Default value: 10
*
*
* example:
* 10
*/
@NameInMap("PageSize")
public Integer pageSize;
/**
* The ID of the security group.
*
* example:
* sg-bp67acfmxazb4ph***
*/
@NameInMap("SecurityGroupId")
public String securityGroupId;
/**
* The name of the security group.
*
* example:
* DocTest
*/
@NameInMap("SecurityGroupName")
public String securityGroupName;
public static DescribeSecurityGroupsRequest build(java.util.Map map) throws Exception {
DescribeSecurityGroupsRequest self = new DescribeSecurityGroupsRequest();
return TeaModel.build(map, self);
}
public DescribeSecurityGroupsRequest setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
public Integer getPageNumber() {
return this.pageNumber;
}
public DescribeSecurityGroupsRequest setPageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
public Integer getPageSize() {
return this.pageSize;
}
public DescribeSecurityGroupsRequest setSecurityGroupId(String securityGroupId) {
this.securityGroupId = securityGroupId;
return this;
}
public String getSecurityGroupId() {
return this.securityGroupId;
}
public DescribeSecurityGroupsRequest setSecurityGroupName(String securityGroupName) {
this.securityGroupName = securityGroupName;
return this;
}
public String getSecurityGroupName() {
return this.securityGroupName;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy