public static final class RevokeSecurityGroupEgressRequest.Permissions.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
RevokeSecurityGroupEgressRequest.Permissions |
build() |
RevokeSecurityGroupEgressRequest.Permissions.Builder |
description(String description)
The description of the security group rule.
|
RevokeSecurityGroupEgressRequest.Permissions.Builder |
destCidrIp(String destCidrIp)
The destination IPv4 CIDR block of the security group rule.
|
RevokeSecurityGroupEgressRequest.Permissions.Builder |
destGroupId(String destGroupId)
The ID of the destination security group from which you want to remove access control configurations.
|
RevokeSecurityGroupEgressRequest.Permissions.Builder |
destGroupOwnerAccount(String destGroupOwnerAccount)
The Alibaba Cloud account that manages the destination security group specified in the security group rule.
|
RevokeSecurityGroupEgressRequest.Permissions.Builder |
destGroupOwnerId(String destGroupOwnerId)
The ID of the Alibaba Cloud account that manages the destination security group specified in the security group rule.
|
RevokeSecurityGroupEgressRequest.Permissions.Builder |
destPrefixListId(String destPrefixListId)
The ID of the destination prefix list of the security group rule.
|
RevokeSecurityGroupEgressRequest.Permissions.Builder |
ipProtocol(String ipProtocol)
The protocol.
|
RevokeSecurityGroupEgressRequest.Permissions.Builder |
ipv6DestCidrIp(String ipv6DestCidrIp)
The destination IPv6 CIDR block of the security group rule.
|
RevokeSecurityGroupEgressRequest.Permissions.Builder |
ipv6SourceCidrIp(String ipv6SourceCidrIp)
The source IPv6 CIDR block.
|
RevokeSecurityGroupEgressRequest.Permissions.Builder |
nicType(String nicType)
The network interface controller (NIC) type of the security group rule if the security group resides in the classic network.
|
RevokeSecurityGroupEgressRequest.Permissions.Builder |
policy(String policy)
The action of the security group rule.
|
RevokeSecurityGroupEgressRequest.Permissions.Builder |
portRange(String portRange)
The range of destination port numbers for the protocols specified in the security group rule.
|
RevokeSecurityGroupEgressRequest.Permissions.Builder |
priority(String priority)
The priority of the security group rule.
|
RevokeSecurityGroupEgressRequest.Permissions.Builder |
sourceCidrIp(String sourceCidrIp)
The source IPv4 CIDR block.
|
RevokeSecurityGroupEgressRequest.Permissions.Builder |
sourcePortRange(String sourcePortRange)
The range of source port numbers for the protocols specified in the security group rule.
|
public RevokeSecurityGroupEgressRequest.Permissions.Builder description(String description)
Valid values of N: 1 to 100.
public RevokeSecurityGroupEgressRequest.Permissions.Builder destCidrIp(String destCidrIp)
Valid values of N: 1 to 100.
public RevokeSecurityGroupEgressRequest.Permissions.Builder destGroupId(String destGroupId)
* You must specify at least one of the following parameters: `DestGroupId`, `DestCidrIp`, `Ipv6DestCidrIp`, and `DestPrefixListId`. * If you specify `DestGroupId` but do not specify `DestCidrIp`, you must set `NicType` to intranet. * If you specify both `DestGroupId` and `DestCidrIp`, `DestCidrIp` takes precedence. When you specify this parameter, take note of the following items: * In advanced security groups, security groups cannot be used as authorization objects. * In each basic security group, up to 20 security groups can be used as authorization objects in security group rules. Valid values of N: 1 to 100.
public RevokeSecurityGroupEgressRequest.Permissions.Builder destGroupOwnerAccount(String destGroupOwnerAccount)
* If both `DestGroupOwnerAccount` and `DestGroupOwnerId` are empty, access control configurations are removed from another security group managed by your Alibaba Cloud account. * If you specify `DestCidrIp`, `DestGroupOwnerAccount` is ignored. Valid values of N: 1 to 100.
public RevokeSecurityGroupEgressRequest.Permissions.Builder destGroupOwnerId(String destGroupOwnerId)
* If both `DestGroupOwnerId` and `DestGroupOwnerAccount` are empty, access control configurations are removed from another security group managed by your Alibaba Cloud account. * If you specify `DestCidrIp`, `DestGroupOwnerId` is invalid. Valid values of N: 1 to 100.
public RevokeSecurityGroupEgressRequest.Permissions.Builder destPrefixListId(String destPrefixListId)
When you specify this parameter, take note of the following items: * If a security group resides in the classic network, you cannot specify prefix lists in the rules of the security group. For information about the limits on security groups and prefix lists, see the [Security group limits](~~25412#SecurityGroupQuota1~~) section of the "Limits and quotas" topic. * If you specify `DestCidrIp`, `Ipv6DestCidrIp`, or `DestGroupId`, this parameter is ignored. Valid values of N: 1 to 100.
public RevokeSecurityGroupEgressRequest.Permissions.Builder ipProtocol(String ipProtocol)
* TCP. * UDP. * ICMP. * ICMPv6. * GRE. * ALL: All protocols are supported. Valid values of N: 1 to 100.
public RevokeSecurityGroupEgressRequest.Permissions.Builder ipv6DestCidrIp(String ipv6DestCidrIp)
Valid values of N: 1 to 100. > This parameter is valid only for Elastic Compute Service (ECS) instances that reside in virtual private clouds (VPCs) and support IPv6 CIDR blocks. You cannot specify both this parameter and `DestCidrIp` in the same request.
public RevokeSecurityGroupEgressRequest.Permissions.Builder ipv6SourceCidrIp(String ipv6SourceCidrIp)
This parameter is used to support quintuple rules. For more information, see [Security group quintuple rules](~~97439~~). Valid values of N: 1 to 100. > This parameter is valid only for ECS instances that reside in VPCs and support IPv6 CIDR blocks. You cannot specify both this parameter and `DestCidrIp` in the same request.
public RevokeSecurityGroupEgressRequest.Permissions.Builder nicType(String nicType)
* internet: public NIC. * intranet: internal NIC. If the security group resides in a VPC, this parameter is set to intranet by default and cannot be modified. If you specify only `SourceGroupId` when you remove access control configurations between security groups, you must set this parameter to intranet. Default value: internet. Valid values of N: 1 to 100.
public RevokeSecurityGroupEgressRequest.Permissions.Builder policy(String policy)
* accept: allows outbound traffic. * drop: denies outbound traffic and returns no responses. In this case, the request times out or the connection cannot be established. Default value: accept. Valid values of N: 1 to 100.
public RevokeSecurityGroupEgressRequest.Permissions.Builder portRange(String portRange)
* If you set IpProtocol to TCP or UDP, the port number range is 1 to 65535. Specify a port number range in the format of \
public RevokeSecurityGroupEgressRequest.Permissions.Builder priority(String priority)
Default value: 1. Valid values of N: 1 to 100.
public RevokeSecurityGroupEgressRequest.Permissions.Builder sourceCidrIp(String sourceCidrIp)
This parameter is used to support quintuple rules. For more information, see [Security group quintuple rules](~~97439~~). Valid values of N: 1 to 100.
public RevokeSecurityGroupEgressRequest.Permissions.Builder sourcePortRange(String sourcePortRange)
* If you set IpProtocol to TCP or UDP, the port number range is 1 to 65535. Specify a port number range in the format of \
public RevokeSecurityGroupEgressRequest.Permissions build()
Copyright © 2024. All rights reserved.