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

com.aliyun.sdk.service.ecs20140526.models.DescribeSecurityGroupsRequest Maven / Gradle / Ivy

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

import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * {@link DescribeSecurityGroupsRequest} extends {@link RequestModel}
 *
 * 

DescribeSecurityGroupsRequest

*/ public class DescribeSecurityGroupsRequest extends Request { @Host @NameInMap("SourceRegionId") private String sourceRegionId; @Query @NameInMap("DryRun") private Boolean dryRun; @Query @NameInMap("FuzzyQuery") private Boolean fuzzyQuery; @Query @NameInMap("IsQueryEcsCount") private Boolean isQueryEcsCount; @Query @NameInMap("MaxResults") @Validation(maximum = 100, minimum = 1) private Integer maxResults; @Query @NameInMap("NetworkType") private String networkType; @Query @NameInMap("NextToken") private String nextToken; @Query @NameInMap("OwnerAccount") private String ownerAccount; @Query @NameInMap("OwnerId") private Long ownerId; @Query @NameInMap("PageNumber") private Integer pageNumber; @Query @NameInMap("PageSize") @Validation(maximum = 100, minimum = 1) private Integer pageSize; @Query @NameInMap("RegionId") @Validation(required = true) private String regionId; @Query @NameInMap("ResourceGroupId") private String resourceGroupId; @Query @NameInMap("ResourceOwnerAccount") private String resourceOwnerAccount; @Query @NameInMap("ResourceOwnerId") private Long resourceOwnerId; @Query @NameInMap("SecurityGroupId") private String securityGroupId; @Query @NameInMap("SecurityGroupIds") private String securityGroupIds; @Query @NameInMap("SecurityGroupName") private String securityGroupName; @Query @NameInMap("SecurityGroupType") private String securityGroupType; @Query @NameInMap("Tag") private java.util.List < Tag> tag; @Query @NameInMap("VpcId") private String vpcId; private DescribeSecurityGroupsRequest(Builder builder) { super(builder); this.sourceRegionId = builder.sourceRegionId; this.dryRun = builder.dryRun; this.fuzzyQuery = builder.fuzzyQuery; this.isQueryEcsCount = builder.isQueryEcsCount; this.maxResults = builder.maxResults; this.networkType = builder.networkType; this.nextToken = builder.nextToken; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.regionId = builder.regionId; this.resourceGroupId = builder.resourceGroupId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.securityGroupId = builder.securityGroupId; this.securityGroupIds = builder.securityGroupIds; this.securityGroupName = builder.securityGroupName; this.securityGroupType = builder.securityGroupType; this.tag = builder.tag; this.vpcId = builder.vpcId; } public static Builder builder() { return new Builder(); } public static DescribeSecurityGroupsRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return sourceRegionId */ public String getSourceRegionId() { return this.sourceRegionId; } /** * @return dryRun */ public Boolean getDryRun() { return this.dryRun; } /** * @return fuzzyQuery */ public Boolean getFuzzyQuery() { return this.fuzzyQuery; } /** * @return isQueryEcsCount */ public Boolean getIsQueryEcsCount() { return this.isQueryEcsCount; } /** * @return maxResults */ public Integer getMaxResults() { return this.maxResults; } /** * @return networkType */ public String getNetworkType() { return this.networkType; } /** * @return nextToken */ public String getNextToken() { return this.nextToken; } /** * @return ownerAccount */ public String getOwnerAccount() { return this.ownerAccount; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @return resourceGroupId */ public String getResourceGroupId() { return this.resourceGroupId; } /** * @return resourceOwnerAccount */ public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } /** * @return resourceOwnerId */ public Long getResourceOwnerId() { return this.resourceOwnerId; } /** * @return securityGroupId */ public String getSecurityGroupId() { return this.securityGroupId; } /** * @return securityGroupIds */ public String getSecurityGroupIds() { return this.securityGroupIds; } /** * @return securityGroupName */ public String getSecurityGroupName() { return this.securityGroupName; } /** * @return securityGroupType */ public String getSecurityGroupType() { return this.securityGroupType; } /** * @return tag */ public java.util.List < Tag> getTag() { return this.tag; } /** * @return vpcId */ public String getVpcId() { return this.vpcId; } public static final class Builder extends Request.Builder { private String sourceRegionId; private Boolean dryRun; private Boolean fuzzyQuery; private Boolean isQueryEcsCount; private Integer maxResults; private String networkType; private String nextToken; private String ownerAccount; private Long ownerId; private Integer pageNumber; private Integer pageSize; private String regionId; private String resourceGroupId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityGroupId; private String securityGroupIds; private String securityGroupName; private String securityGroupType; private java.util.List < Tag> tag; private String vpcId; private Builder() { super(); } private Builder(DescribeSecurityGroupsRequest request) { super(request); this.sourceRegionId = request.sourceRegionId; this.dryRun = request.dryRun; this.fuzzyQuery = request.fuzzyQuery; this.isQueryEcsCount = request.isQueryEcsCount; this.maxResults = request.maxResults; this.networkType = request.networkType; this.nextToken = request.nextToken; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.pageNumber = request.pageNumber; this.pageSize = request.pageSize; this.regionId = request.regionId; this.resourceGroupId = request.resourceGroupId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.securityGroupId = request.securityGroupId; this.securityGroupIds = request.securityGroupIds; this.securityGroupName = request.securityGroupName; this.securityGroupType = request.securityGroupType; this.tag = request.tag; this.vpcId = request.vpcId; } /** * SourceRegionId. */ public Builder sourceRegionId(String sourceRegionId) { this.putHostParameter("SourceRegionId", sourceRegionId); this.sourceRegionId = sourceRegionId; return this; } /** * DryRun. */ public Builder dryRun(Boolean dryRun) { this.putQueryParameter("DryRun", dryRun); this.dryRun = dryRun; return this; } /** * FuzzyQuery. */ public Builder fuzzyQuery(Boolean fuzzyQuery) { this.putQueryParameter("FuzzyQuery", fuzzyQuery); this.fuzzyQuery = fuzzyQuery; return this; } /** * IsQueryEcsCount. */ public Builder isQueryEcsCount(Boolean isQueryEcsCount) { this.putQueryParameter("IsQueryEcsCount", isQueryEcsCount); this.isQueryEcsCount = isQueryEcsCount; return this; } /** * MaxResults. */ public Builder maxResults(Integer maxResults) { this.putQueryParameter("MaxResults", maxResults); this.maxResults = maxResults; return this; } /** * NetworkType. */ public Builder networkType(String networkType) { this.putQueryParameter("NetworkType", networkType); this.networkType = networkType; return this; } /** * NextToken. */ public Builder nextToken(String nextToken) { this.putQueryParameter("NextToken", nextToken); this.nextToken = nextToken; return this; } /** * OwnerAccount. */ public Builder ownerAccount(String ownerAccount) { this.putQueryParameter("OwnerAccount", ownerAccount); this.ownerAccount = ownerAccount; return this; } /** * OwnerId. */ public Builder ownerId(Long ownerId) { this.putQueryParameter("OwnerId", ownerId); this.ownerId = ownerId; return this; } /** * PageNumber. */ public Builder pageNumber(Integer pageNumber) { this.putQueryParameter("PageNumber", pageNumber); this.pageNumber = pageNumber; return this; } /** * PageSize. */ public Builder pageSize(Integer pageSize) { this.putQueryParameter("PageSize", pageSize); this.pageSize = pageSize; return this; } /** * RegionId. */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; return this; } /** * ResourceGroupId. */ public Builder resourceGroupId(String resourceGroupId) { this.putQueryParameter("ResourceGroupId", resourceGroupId); this.resourceGroupId = resourceGroupId; return this; } /** * ResourceOwnerAccount. */ public Builder resourceOwnerAccount(String resourceOwnerAccount) { this.putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); this.resourceOwnerAccount = resourceOwnerAccount; return this; } /** * ResourceOwnerId. */ public Builder resourceOwnerId(Long resourceOwnerId) { this.putQueryParameter("ResourceOwnerId", resourceOwnerId); this.resourceOwnerId = resourceOwnerId; return this; } /** * SecurityGroupId. */ public Builder securityGroupId(String securityGroupId) { this.putQueryParameter("SecurityGroupId", securityGroupId); this.securityGroupId = securityGroupId; return this; } /** * SecurityGroupIds. */ public Builder securityGroupIds(String securityGroupIds) { this.putQueryParameter("SecurityGroupIds", securityGroupIds); this.securityGroupIds = securityGroupIds; return this; } /** * SecurityGroupName. */ public Builder securityGroupName(String securityGroupName) { this.putQueryParameter("SecurityGroupName", securityGroupName); this.securityGroupName = securityGroupName; return this; } /** * SecurityGroupType. */ public Builder securityGroupType(String securityGroupType) { this.putQueryParameter("SecurityGroupType", securityGroupType); this.securityGroupType = securityGroupType; return this; } /** * Tag. */ public Builder tag(java.util.List < Tag> tag) { this.putQueryParameter("Tag", tag); this.tag = tag; return this; } /** * VpcId. */ public Builder vpcId(String vpcId) { this.putQueryParameter("VpcId", vpcId); this.vpcId = vpcId; return this; } @Override public DescribeSecurityGroupsRequest build() { return new DescribeSecurityGroupsRequest(this); } } public static class Tag extends TeaModel { @NameInMap("Key") private String key; @NameInMap("Value") private String value; private Tag(Builder builder) { this.key = builder.key; this.value = builder.value; } public static Builder builder() { return new Builder(); } public static Tag create() { return builder().build(); } /** * @return key */ public String getKey() { return this.key; } /** * @return value */ public String getValue() { return this.value; } public static final class Builder { private String key; private String value; /** * Key. */ public Builder key(String key) { this.key = key; return this; } /** * Value. */ public Builder value(String value) { this.value = value; return this; } public Tag build() { return new Tag(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy