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

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

RevokeSecurityGroupEgressRequest

*/ public class RevokeSecurityGroupEgressRequest extends Request { @Host @NameInMap("SourceRegionId") private String sourceRegionId; @Query @NameInMap("ClientToken") private String clientToken; @Query @NameInMap("Description") private String description; @Query @NameInMap("DestCidrIp") private String destCidrIp; @Query @NameInMap("DestGroupId") private String destGroupId; @Query @NameInMap("DestGroupOwnerAccount") private String destGroupOwnerAccount; @Query @NameInMap("DestGroupOwnerId") private Long destGroupOwnerId; @Query @NameInMap("DestPrefixListId") private String destPrefixListId; @Query @NameInMap("IpProtocol") private String ipProtocol; @Query @NameInMap("Ipv6DestCidrIp") private String ipv6DestCidrIp; @Query @NameInMap("Ipv6SourceCidrIp") private String ipv6SourceCidrIp; @Query @NameInMap("NicType") private String nicType; @Query @NameInMap("OwnerAccount") private String ownerAccount; @Query @NameInMap("OwnerId") private Long ownerId; @Query @NameInMap("Permissions") private java.util.List < Permissions> permissions; @Query @NameInMap("Policy") private String policy; @Query @NameInMap("PortRange") private String portRange; @Query @NameInMap("Priority") private String priority; @Query @NameInMap("RegionId") @Validation(required = true) private String regionId; @Query @NameInMap("ResourceOwnerAccount") private String resourceOwnerAccount; @Query @NameInMap("ResourceOwnerId") private Long resourceOwnerId; @Query @NameInMap("SecurityGroupId") @Validation(required = true) private String securityGroupId; @Query @NameInMap("SourceCidrIp") private String sourceCidrIp; @Query @NameInMap("SourcePortRange") private String sourcePortRange; private RevokeSecurityGroupEgressRequest(Builder builder) { super(builder); this.sourceRegionId = builder.sourceRegionId; this.clientToken = builder.clientToken; this.description = builder.description; this.destCidrIp = builder.destCidrIp; this.destGroupId = builder.destGroupId; this.destGroupOwnerAccount = builder.destGroupOwnerAccount; this.destGroupOwnerId = builder.destGroupOwnerId; this.destPrefixListId = builder.destPrefixListId; this.ipProtocol = builder.ipProtocol; this.ipv6DestCidrIp = builder.ipv6DestCidrIp; this.ipv6SourceCidrIp = builder.ipv6SourceCidrIp; this.nicType = builder.nicType; this.ownerAccount = builder.ownerAccount; this.ownerId = builder.ownerId; this.permissions = builder.permissions; this.policy = builder.policy; this.portRange = builder.portRange; this.priority = builder.priority; this.regionId = builder.regionId; this.resourceOwnerAccount = builder.resourceOwnerAccount; this.resourceOwnerId = builder.resourceOwnerId; this.securityGroupId = builder.securityGroupId; this.sourceCidrIp = builder.sourceCidrIp; this.sourcePortRange = builder.sourcePortRange; } public static Builder builder() { return new Builder(); } public static RevokeSecurityGroupEgressRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return sourceRegionId */ public String getSourceRegionId() { return this.sourceRegionId; } /** * @return clientToken */ public String getClientToken() { return this.clientToken; } /** * @return description */ public String getDescription() { return this.description; } /** * @return destCidrIp */ public String getDestCidrIp() { return this.destCidrIp; } /** * @return destGroupId */ public String getDestGroupId() { return this.destGroupId; } /** * @return destGroupOwnerAccount */ public String getDestGroupOwnerAccount() { return this.destGroupOwnerAccount; } /** * @return destGroupOwnerId */ public Long getDestGroupOwnerId() { return this.destGroupOwnerId; } /** * @return destPrefixListId */ public String getDestPrefixListId() { return this.destPrefixListId; } /** * @return ipProtocol */ public String getIpProtocol() { return this.ipProtocol; } /** * @return ipv6DestCidrIp */ public String getIpv6DestCidrIp() { return this.ipv6DestCidrIp; } /** * @return ipv6SourceCidrIp */ public String getIpv6SourceCidrIp() { return this.ipv6SourceCidrIp; } /** * @return nicType */ public String getNicType() { return this.nicType; } /** * @return ownerAccount */ public String getOwnerAccount() { return this.ownerAccount; } /** * @return ownerId */ public Long getOwnerId() { return this.ownerId; } /** * @return permissions */ public java.util.List < Permissions> getPermissions() { return this.permissions; } /** * @return policy */ public String getPolicy() { return this.policy; } /** * @return portRange */ public String getPortRange() { return this.portRange; } /** * @return priority */ public String getPriority() { return this.priority; } /** * @return regionId */ public String getRegionId() { return this.regionId; } /** * @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 sourceCidrIp */ public String getSourceCidrIp() { return this.sourceCidrIp; } /** * @return sourcePortRange */ public String getSourcePortRange() { return this.sourcePortRange; } public static final class Builder extends Request.Builder { private String sourceRegionId; private String clientToken; private String description; private String destCidrIp; private String destGroupId; private String destGroupOwnerAccount; private Long destGroupOwnerId; private String destPrefixListId; private String ipProtocol; private String ipv6DestCidrIp; private String ipv6SourceCidrIp; private String nicType; private String ownerAccount; private Long ownerId; private java.util.List < Permissions> permissions; private String policy; private String portRange; private String priority; private String regionId; private String resourceOwnerAccount; private Long resourceOwnerId; private String securityGroupId; private String sourceCidrIp; private String sourcePortRange; private Builder() { super(); } private Builder(RevokeSecurityGroupEgressRequest request) { super(request); this.sourceRegionId = request.sourceRegionId; this.clientToken = request.clientToken; this.description = request.description; this.destCidrIp = request.destCidrIp; this.destGroupId = request.destGroupId; this.destGroupOwnerAccount = request.destGroupOwnerAccount; this.destGroupOwnerId = request.destGroupOwnerId; this.destPrefixListId = request.destPrefixListId; this.ipProtocol = request.ipProtocol; this.ipv6DestCidrIp = request.ipv6DestCidrIp; this.ipv6SourceCidrIp = request.ipv6SourceCidrIp; this.nicType = request.nicType; this.ownerAccount = request.ownerAccount; this.ownerId = request.ownerId; this.permissions = request.permissions; this.policy = request.policy; this.portRange = request.portRange; this.priority = request.priority; this.regionId = request.regionId; this.resourceOwnerAccount = request.resourceOwnerAccount; this.resourceOwnerId = request.resourceOwnerId; this.securityGroupId = request.securityGroupId; this.sourceCidrIp = request.sourceCidrIp; this.sourcePortRange = request.sourcePortRange; } /** * SourceRegionId. */ public Builder sourceRegionId(String sourceRegionId) { this.putHostParameter("SourceRegionId", sourceRegionId); this.sourceRegionId = sourceRegionId; return this; } /** * ClientToken. */ public Builder clientToken(String clientToken) { this.putQueryParameter("ClientToken", clientToken); this.clientToken = clientToken; return this; } /** * Description. */ public Builder description(String description) { this.putQueryParameter("Description", description); this.description = description; return this; } /** * DestCidrIp. */ public Builder destCidrIp(String destCidrIp) { this.putQueryParameter("DestCidrIp", destCidrIp); this.destCidrIp = destCidrIp; return this; } /** * DestGroupId. */ public Builder destGroupId(String destGroupId) { this.putQueryParameter("DestGroupId", destGroupId); this.destGroupId = destGroupId; return this; } /** * DestGroupOwnerAccount. */ public Builder destGroupOwnerAccount(String destGroupOwnerAccount) { this.putQueryParameter("DestGroupOwnerAccount", destGroupOwnerAccount); this.destGroupOwnerAccount = destGroupOwnerAccount; return this; } /** * DestGroupOwnerId. */ public Builder destGroupOwnerId(Long destGroupOwnerId) { this.putQueryParameter("DestGroupOwnerId", destGroupOwnerId); this.destGroupOwnerId = destGroupOwnerId; return this; } /** * DestPrefixListId. */ public Builder destPrefixListId(String destPrefixListId) { this.putQueryParameter("DestPrefixListId", destPrefixListId); this.destPrefixListId = destPrefixListId; return this; } /** * IpProtocol. */ public Builder ipProtocol(String ipProtocol) { this.putQueryParameter("IpProtocol", ipProtocol); this.ipProtocol = ipProtocol; return this; } /** * Ipv6DestCidrIp. */ public Builder ipv6DestCidrIp(String ipv6DestCidrIp) { this.putQueryParameter("Ipv6DestCidrIp", ipv6DestCidrIp); this.ipv6DestCidrIp = ipv6DestCidrIp; return this; } /** * Ipv6SourceCidrIp. */ public Builder ipv6SourceCidrIp(String ipv6SourceCidrIp) { this.putQueryParameter("Ipv6SourceCidrIp", ipv6SourceCidrIp); this.ipv6SourceCidrIp = ipv6SourceCidrIp; return this; } /** * NicType. */ public Builder nicType(String nicType) { this.putQueryParameter("NicType", nicType); this.nicType = nicType; 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; } /** * Permissions. */ public Builder permissions(java.util.List < Permissions> permissions) { this.putQueryParameter("Permissions", permissions); this.permissions = permissions; return this; } /** * Policy. */ public Builder policy(String policy) { this.putQueryParameter("Policy", policy); this.policy = policy; return this; } /** * PortRange. */ public Builder portRange(String portRange) { this.putQueryParameter("PortRange", portRange); this.portRange = portRange; return this; } /** * Priority. */ public Builder priority(String priority) { this.putQueryParameter("Priority", priority); this.priority = priority; return this; } /** * RegionId. */ public Builder regionId(String regionId) { this.putQueryParameter("RegionId", regionId); this.regionId = regionId; 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; } /** * SourceCidrIp. */ public Builder sourceCidrIp(String sourceCidrIp) { this.putQueryParameter("SourceCidrIp", sourceCidrIp); this.sourceCidrIp = sourceCidrIp; return this; } /** * SourcePortRange. */ public Builder sourcePortRange(String sourcePortRange) { this.putQueryParameter("SourcePortRange", sourcePortRange); this.sourcePortRange = sourcePortRange; return this; } @Override public RevokeSecurityGroupEgressRequest build() { return new RevokeSecurityGroupEgressRequest(this); } } public static class Permissions extends TeaModel { @NameInMap("Description") private String description; @NameInMap("DestCidrIp") private String destCidrIp; @NameInMap("DestGroupId") private String destGroupId; @NameInMap("DestGroupOwnerAccount") private String destGroupOwnerAccount; @NameInMap("DestGroupOwnerId") private String destGroupOwnerId; @NameInMap("DestPrefixListId") private String destPrefixListId; @NameInMap("IpProtocol") private String ipProtocol; @NameInMap("Ipv6DestCidrIp") private String ipv6DestCidrIp; @NameInMap("Ipv6SourceCidrIp") private String ipv6SourceCidrIp; @NameInMap("NicType") private String nicType; @NameInMap("Policy") private String policy; @NameInMap("PortRange") private String portRange; @NameInMap("Priority") private String priority; @NameInMap("SourceCidrIp") private String sourceCidrIp; @NameInMap("SourcePortRange") private String sourcePortRange; private Permissions(Builder builder) { this.description = builder.description; this.destCidrIp = builder.destCidrIp; this.destGroupId = builder.destGroupId; this.destGroupOwnerAccount = builder.destGroupOwnerAccount; this.destGroupOwnerId = builder.destGroupOwnerId; this.destPrefixListId = builder.destPrefixListId; this.ipProtocol = builder.ipProtocol; this.ipv6DestCidrIp = builder.ipv6DestCidrIp; this.ipv6SourceCidrIp = builder.ipv6SourceCidrIp; this.nicType = builder.nicType; this.policy = builder.policy; this.portRange = builder.portRange; this.priority = builder.priority; this.sourceCidrIp = builder.sourceCidrIp; this.sourcePortRange = builder.sourcePortRange; } public static Builder builder() { return new Builder(); } public static Permissions create() { return builder().build(); } /** * @return description */ public String getDescription() { return this.description; } /** * @return destCidrIp */ public String getDestCidrIp() { return this.destCidrIp; } /** * @return destGroupId */ public String getDestGroupId() { return this.destGroupId; } /** * @return destGroupOwnerAccount */ public String getDestGroupOwnerAccount() { return this.destGroupOwnerAccount; } /** * @return destGroupOwnerId */ public String getDestGroupOwnerId() { return this.destGroupOwnerId; } /** * @return destPrefixListId */ public String getDestPrefixListId() { return this.destPrefixListId; } /** * @return ipProtocol */ public String getIpProtocol() { return this.ipProtocol; } /** * @return ipv6DestCidrIp */ public String getIpv6DestCidrIp() { return this.ipv6DestCidrIp; } /** * @return ipv6SourceCidrIp */ public String getIpv6SourceCidrIp() { return this.ipv6SourceCidrIp; } /** * @return nicType */ public String getNicType() { return this.nicType; } /** * @return policy */ public String getPolicy() { return this.policy; } /** * @return portRange */ public String getPortRange() { return this.portRange; } /** * @return priority */ public String getPriority() { return this.priority; } /** * @return sourceCidrIp */ public String getSourceCidrIp() { return this.sourceCidrIp; } /** * @return sourcePortRange */ public String getSourcePortRange() { return this.sourcePortRange; } public static final class Builder { private String description; private String destCidrIp; private String destGroupId; private String destGroupOwnerAccount; private String destGroupOwnerId; private String destPrefixListId; private String ipProtocol; private String ipv6DestCidrIp; private String ipv6SourceCidrIp; private String nicType; private String policy; private String portRange; private String priority; private String sourceCidrIp; private String sourcePortRange; /** * Description. */ public Builder description(String description) { this.description = description; return this; } /** * DestCidrIp. */ public Builder destCidrIp(String destCidrIp) { this.destCidrIp = destCidrIp; return this; } /** * DestGroupId. */ public Builder destGroupId(String destGroupId) { this.destGroupId = destGroupId; return this; } /** * DestGroupOwnerAccount. */ public Builder destGroupOwnerAccount(String destGroupOwnerAccount) { this.destGroupOwnerAccount = destGroupOwnerAccount; return this; } /** * DestGroupOwnerId. */ public Builder destGroupOwnerId(String destGroupOwnerId) { this.destGroupOwnerId = destGroupOwnerId; return this; } /** * DestPrefixListId. */ public Builder destPrefixListId(String destPrefixListId) { this.destPrefixListId = destPrefixListId; return this; } /** * IpProtocol. */ public Builder ipProtocol(String ipProtocol) { this.ipProtocol = ipProtocol; return this; } /** * Ipv6DestCidrIp. */ public Builder ipv6DestCidrIp(String ipv6DestCidrIp) { this.ipv6DestCidrIp = ipv6DestCidrIp; return this; } /** * Ipv6SourceCidrIp. */ public Builder ipv6SourceCidrIp(String ipv6SourceCidrIp) { this.ipv6SourceCidrIp = ipv6SourceCidrIp; return this; } /** * NicType. */ public Builder nicType(String nicType) { this.nicType = nicType; return this; } /** * Policy. */ public Builder policy(String policy) { this.policy = policy; return this; } /** * PortRange. */ public Builder portRange(String portRange) { this.portRange = portRange; return this; } /** * Priority. */ public Builder priority(String priority) { this.priority = priority; return this; } /** * SourceCidrIp. */ public Builder sourceCidrIp(String sourceCidrIp) { this.sourceCidrIp = sourceCidrIp; return this; } /** * SourcePortRange. */ public Builder sourcePortRange(String sourcePortRange) { this.sourcePortRange = sourcePortRange; return this; } public Permissions build() { return new Permissions(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy