public static final class AuthorizeSecurityGroupEgressRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
AuthorizeSecurityGroupEgressRequest |
build() |
AuthorizeSecurityGroupEgressRequest.Builder |
destCidrIp(String destCidrIp)
The destination IP addresses.
|
AuthorizeSecurityGroupEgressRequest.Builder |
ipProtocol(String ipProtocol)
The transport layer protocol.
|
AuthorizeSecurityGroupEgressRequest.Builder |
policy(String policy)
The action of security group rule N that determines whether to allow inbound access.
|
AuthorizeSecurityGroupEgressRequest.Builder |
portRange(String portRange)
The range of destination ports that correspond to the transport layer protocol for security group rule N.
|
AuthorizeSecurityGroupEgressRequest.Builder |
priority(Integer priority)
The priority of the security group rule.
|
AuthorizeSecurityGroupEgressRequest.Builder |
securityGroupId(String securityGroupId)
The ID of the security group.
|
AuthorizeSecurityGroupEgressRequest.Builder |
sourcePortRange(String sourcePortRange)
The range of port numbers that correspond to the transport layer protocol for the source security group.
|
public AuthorizeSecurityGroupEgressRequest.Builder destCidrIp(String destCidrIp)
This parameter is empty by default.
public AuthorizeSecurityGroupEgressRequest.Builder ipProtocol(String ipProtocol)
* tcp: TCP. * udp: UDP. * icmp: ICMP. * gre: GRE. * all: All protocols are supported.
public AuthorizeSecurityGroupEgressRequest.Builder policy(String policy)
* accept: allows access. This is the default value. * drop: denies access and returns no responses.
public AuthorizeSecurityGroupEgressRequest.Builder portRange(String portRange)
* When the IpProtocol parameter is set to tcp or udp, the port number range is **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 AuthorizeSecurityGroupEgressRequest.Builder priority(Integer priority)
public AuthorizeSecurityGroupEgressRequest.Builder securityGroupId(String securityGroupId)
public AuthorizeSecurityGroupEgressRequest.Builder sourcePortRange(String sourcePortRange)
* When the IpProtocol parameter is set to tcp or udp, the port number range is **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 AuthorizeSecurityGroupEgressRequest build()
Copyright © 2024. All rights reserved.