public static final class RevokeSecurityGroupEgressRequest.Permissions.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
RevokeSecurityGroupEgressRequest.Permissions |
build() |
RevokeSecurityGroupEgressRequest.Permissions.Builder |
description(String description)
The description of security group rule N.
|
RevokeSecurityGroupEgressRequest.Permissions.Builder |
destCidrIp(String destCidrIp)
The destination IPv4 CIDR block for security group rule N.
|
RevokeSecurityGroupEgressRequest.Permissions.Builder |
destGroupId(String destGroupId)
The ID of the source security group that is referenced in security group rule N.
|
RevokeSecurityGroupEgressRequest.Permissions.Builder |
destGroupOwnerAccount(String destGroupOwnerAccount)
The Alibaba Cloud account that manages the destination security group when you delete security group rules N across accounts.
|
RevokeSecurityGroupEgressRequest.Permissions.Builder |
destGroupOwnerId(String destGroupOwnerId)
The Alibaba Cloud account that manages the destination security group when you delete security group rule N across accounts.
|
RevokeSecurityGroupEgressRequest.Permissions.Builder |
destPrefixListId(String destPrefixListId)
The ID of the destination prefix list that is referenced in security group rule N.
|
RevokeSecurityGroupEgressRequest.Permissions.Builder |
ipProtocol(String ipProtocol)
The transport layer protocol of security group rule N.
|
RevokeSecurityGroupEgressRequest.Permissions.Builder |
ipv6DestCidrIp(String ipv6DestCidrIp)
The destination IPv6 CIDR block for security group rule N.
|
RevokeSecurityGroupEgressRequest.Permissions.Builder |
ipv6SourceCidrIp(String ipv6SourceCidrIp)
The source IPv6 CIDR block for security group rule N.
|
RevokeSecurityGroupEgressRequest.Permissions.Builder |
nicType(String nicType)
The network interface controller (NIC) type of security group rule N when the security group is in the classic network.
|
RevokeSecurityGroupEgressRequest.Permissions.Builder |
policy(String policy)
The action of security group rule N that determines whether to allow outbound access.
|
RevokeSecurityGroupEgressRequest.Permissions.Builder |
portRange(String portRange)
The range of destination ports that correspond to the transport layer protocol for security group rule N.
|
RevokeSecurityGroupEgressRequest.Permissions.Builder |
priority(String priority)
The priority of security group rule N.
|
RevokeSecurityGroupEgressRequest.Permissions.Builder |
sourceCidrIp(String sourceCidrIp)
The source IPv4 CIDR block for security group rule N.
|
RevokeSecurityGroupEgressRequest.Permissions.Builder |
sourcePortRange(String sourcePortRange)
The range of source ports that correspond to the transport layer protocol for security group rule N.
|
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)
* At least one of `DestGroupId`, `DestCidrIp`, `Ipv6DestCidrIp`, and `DestPrefixListId` must be specified. * If `DestGroupId` is specified but `DestCidrIp` is not specified, the `NicType` parameter must be set to intranet. * If both `DestGroupId` and `DestCidrIp` are specified, `DestCidrIp` takes precedence. Take note of the following items: * For advanced security groups, security groups cannot be used as authorization objects. * For each basic security group, a maximum of 20 security groups can be used as authorization objects. Valid values of N: 1 to 100.
public RevokeSecurityGroupEgressRequest.Permissions.Builder destGroupOwnerAccount(String destGroupOwnerAccount)
* If both `DestGroupOwnerAccount` and `DestGroupOwnerId` are not specified, the access control is revoked from another security group managed by your account. * If `DestCidrIp` is specified, `DestGroupOwnerAccount` is ignored. Valid values of N: 1 to 100.
public RevokeSecurityGroupEgressRequest.Permissions.Builder destGroupOwnerId(String destGroupOwnerId)
* If both `DestGroupOwnerId` and `DestGroupOwnerAccount` are not specified, the access control is revoked from another security group managed by your account. * If `DestCidrIp` is specified, `DestGroupOwnerId` is invalid. Valid values of N: 1 to 100.
public RevokeSecurityGroupEgressRequest.Permissions.Builder destPrefixListId(String destPrefixListId)
Take note of the following items: * If a security group is in the classic network, you cannot reference prefix lists in the security group rules. For information about the limits on security groups and prefix lists, see the "Security group limits" section in [Limits](~~25412#SecurityGroupQuota1~~). * If you specify `DestCidrIp`, `Ipv6DestCidrIp`, or `DestGroupId`, Permissions.N.DestPrefixListId 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. > The Permissions.N.Ipv6DestCidrIp parameter is valid only when the destination is ECS instances that reside in virtual private clouds (VPCs) and that support IPv6 CIDR blocks. You cannot specify both this parameter and the `DestCidrIp` parameter.
public RevokeSecurityGroupEgressRequest.Permissions.Builder ipv6SourceCidrIp(String ipv6SourceCidrIp)
This parameter is specified to meet quintuple rules. For more information, see [Security group quintuple rules](~~97439~~). Valid values of N: 1 to 100. > The Permissions.N.Ipv6SourceCidrIp parameter is valid only when the source is ECS instances that reside in VPCs and that support IPv6 CIDR blocks. You cannot specify both this parameter and the `DestCidrIp` parameter.
public RevokeSecurityGroupEgressRequest.Permissions.Builder nicType(String nicType)
* internet: public NIC * intranet: internal NIC If the security group is in a VPC, this parameter is set to intranet by default and cannot be modified. If you specify only `SourceGroupId` when you configure access between security groups, this parameter must be set to intranet. Default value: internet. Valid values of N: 1 to 100.
public RevokeSecurityGroupEgressRequest.Permissions.Builder policy(String policy)
* accept: allows access. * drop: denies access 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)
* When the Permissions.N.IpProtocol parameter is set to TCP or UDP, the port number range is 1 to 65535. Specify a port 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 specified to meet 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)
* When the Permissions.N.IpProtocol parameter is set to TCP or UDP, the port number range is 1 to 65535. Specify a port range in the format of \
public RevokeSecurityGroupEgressRequest.Permissions build()
Copyright © 2023. All rights reserved.