com.aliyun.sdk.service.ens20171110.models.DescribeSecurityGroupsResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ens20171110 Show documentation
Show all versions of alibabacloud-ens20171110 Show documentation
Alibaba Cloud Ens (20171110) Async SDK for Java
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 DescribeSecurityGroupsResponseBody} extends {@link TeaModel}
*
* DescribeSecurityGroupsResponseBody
*/
public class DescribeSecurityGroupsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("SecurityGroups")
private SecurityGroups securityGroups;
@com.aliyun.core.annotation.NameInMap("TotalCount")
private Integer totalCount;
private DescribeSecurityGroupsResponseBody(Builder builder) {
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.securityGroups = builder.securityGroups;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static DescribeSecurityGroupsResponseBody create() {
return builder().build();
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return securityGroups
*/
public SecurityGroups getSecurityGroups() {
return this.securityGroups;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private Integer pageNumber;
private Integer pageSize;
private String requestId;
private SecurityGroups securityGroups;
private Integer totalCount;
/**
* The page number.
*
* example:
* 1
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* The number of entries returned per page.
*
* example:
* 10
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* The request ID.
*
* example:
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Details about security groups.
*/
public Builder securityGroups(SecurityGroups securityGroups) {
this.securityGroups = securityGroups;
return this;
}
/**
* The total number of returned pages.
*
* example:
* 49
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public DescribeSecurityGroupsResponseBody build() {
return new DescribeSecurityGroupsResponseBody(this);
}
}
/**
*
* {@link DescribeSecurityGroupsResponseBody} extends {@link TeaModel}
*
* DescribeSecurityGroupsResponseBody
*/
public static class SecurityGroup extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CreationTime")
private String creationTime;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("InstanceCount")
private Integer instanceCount;
@com.aliyun.core.annotation.NameInMap("SecurityGroupId")
private String securityGroupId;
@com.aliyun.core.annotation.NameInMap("SecurityGroupName")
private String securityGroupName;
private SecurityGroup(Builder builder) {
this.creationTime = builder.creationTime;
this.description = builder.description;
this.instanceCount = builder.instanceCount;
this.securityGroupId = builder.securityGroupId;
this.securityGroupName = builder.securityGroupName;
}
public static Builder builder() {
return new Builder();
}
public static SecurityGroup create() {
return builder().build();
}
/**
* @return creationTime
*/
public String getCreationTime() {
return this.creationTime;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return instanceCount
*/
public Integer getInstanceCount() {
return this.instanceCount;
}
/**
* @return securityGroupId
*/
public String getSecurityGroupId() {
return this.securityGroupId;
}
/**
* @return securityGroupName
*/
public String getSecurityGroupName() {
return this.securityGroupName;
}
public static final class Builder {
private String creationTime;
private String description;
private Integer instanceCount;
private String securityGroupId;
private String securityGroupName;
/**
* The time when the security group was created. The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mmZ format. The time is displayed in UTC. The format is yyyy-MM-ddThh:mmZ.
*
* example:
* 2019-11-01T06:08:46Z
*/
public Builder creationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* The description of the security group.
*
* example:
* TestDescription
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* The number of associated instances.
*
* example:
* 5
*/
public Builder instanceCount(Integer instanceCount) {
this.instanceCount = instanceCount;
return this;
}
/**
* The ID of the security group.
*
* example:
* sg-bp67acfmxazb4ph***
*/
public Builder securityGroupId(String securityGroupId) {
this.securityGroupId = securityGroupId;
return this;
}
/**
* The name of the security group.
*
* example:
* DocTest
*/
public Builder securityGroupName(String securityGroupName) {
this.securityGroupName = securityGroupName;
return this;
}
public SecurityGroup build() {
return new SecurityGroup(this);
}
}
}
/**
*
* {@link DescribeSecurityGroupsResponseBody} extends {@link TeaModel}
*
* DescribeSecurityGroupsResponseBody
*/
public static class SecurityGroups extends TeaModel {
@com.aliyun.core.annotation.NameInMap("SecurityGroup")
private java.util.List securityGroup;
private SecurityGroups(Builder builder) {
this.securityGroup = builder.securityGroup;
}
public static Builder builder() {
return new Builder();
}
public static SecurityGroups create() {
return builder().build();
}
/**
* @return securityGroup
*/
public java.util.List getSecurityGroup() {
return this.securityGroup;
}
public static final class Builder {
private java.util.List securityGroup;
/**
* SecurityGroup.
*/
public Builder securityGroup(java.util.List securityGroup) {
this.securityGroup = securityGroup;
return this;
}
public SecurityGroups build() {
return new SecurityGroups(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy