public static final class RevokeSecurityGroupEgressRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
RevokeSecurityGroupEgressRequest |
build() |
RevokeSecurityGroupEgressRequest.Builder |
destCidrIp(String destCidrIp)
The destination IP addresses.
|
RevokeSecurityGroupEgressRequest.Builder |
ipProtocol(String ipProtocol)
The transport layer protocol.
|
RevokeSecurityGroupEgressRequest.Builder |
policy(String policy)
The action of the security group rule.
|
RevokeSecurityGroupEgressRequest.Builder |
portRange(String portRange)
The range of destination ports that correspond to the transport layer protocol for the security group rule.
|
RevokeSecurityGroupEgressRequest.Builder |
priority(Integer priority)
The priority of the security group rule.
|
RevokeSecurityGroupEgressRequest.Builder |
securityGroupId(String securityGroupId)
The ID of the security group.
|
RevokeSecurityGroupEgressRequest.Builder |
sourcePortRange(String sourcePortRange)
The range of port numbers that correspond to the transport layer protocol for the source security group.
|
public RevokeSecurityGroupEgressRequest.Builder destCidrIp(String destCidrIp)
By default, this parameter is empty.
public RevokeSecurityGroupEgressRequest.Builder ipProtocol(String ipProtocol)
* tcp * udp * icmp * gre * all: All protocols are supported.
public RevokeSecurityGroupEgressRequest.Builder policy(String policy)
* **accept**: allows access. * **drop**: denies access and returns no responses. Default value: **accept**.
public RevokeSecurityGroupEgressRequest.Builder portRange(String portRange)
* If you set the IpProtocol parameter to tcp or udp, the port number ranges from **1** to **65535**. The start port number and the end port number are separated by a forward slash (/). Correct example: **1/200**. Incorrect example: **200/1**. * When the IpProtocol parameter is set to icmp, the port number range is **-1/-1**, which indicates all ports. * When the IpProtocol parameter is set to gre, the port number range is **-1/-1**, which indicates all ports. * When the IpProtocol parameter is set to all, the port number range is **-1/-1**, which indicates all ports.
public RevokeSecurityGroupEgressRequest.Builder priority(Integer priority)
Default value: **1**.
public RevokeSecurityGroupEgressRequest.Builder securityGroupId(String securityGroupId)
public RevokeSecurityGroupEgressRequest.Builder sourcePortRange(String sourcePortRange)
* If you set the IpProtocol parameter to tcp or udp, the port number ranges from **1** to **65535**. The start port number and the end port number are separated by a forward slash (/). Correct example: **1/200**. Incorrect example: **200/1**. * When the IpProtocol parameter is set to icmp, the port number range is **-1/-1**, which indicates all ports. * When the IpProtocol parameter is set to gre, the port number range is **-1/-1**, which indicates all ports. * When the IpProtocol parameter is set to all, the port number range is **-1/-1**, which indicates all ports.
public RevokeSecurityGroupEgressRequest build()
Copyright © 2024. All rights reserved.