CopyableBuilder<AuthorizeSecurityGroupEgressRequest.Builder,AuthorizeSecurityGroupEgressRequest>
, SdkBuilder<AuthorizeSecurityGroupEgressRequest.Builder,AuthorizeSecurityGroupEgressRequest>
public static interface AuthorizeSecurityGroupEgressRequest.Builder extends CopyableBuilder<AuthorizeSecurityGroupEgressRequest.Builder,AuthorizeSecurityGroupEgressRequest>
Modifier and Type | Method | Description |
---|---|---|
AuthorizeSecurityGroupEgressRequest.Builder |
cidrIp(String cidrIp) |
The CIDR IPv4 address range.
|
AuthorizeSecurityGroupEgressRequest.Builder |
fromPort(Integer fromPort) |
The start of port range for the TCP and UDP protocols, or an ICMP type number.
|
AuthorizeSecurityGroupEgressRequest.Builder |
groupId(String groupId) |
The ID of the security group.
|
AuthorizeSecurityGroupEgressRequest.Builder |
ipPermissions(Collection<IpPermission> ipPermissions) |
A set of IP permissions.
|
AuthorizeSecurityGroupEgressRequest.Builder |
ipPermissions(IpPermission... ipPermissions) |
A set of IP permissions.
|
AuthorizeSecurityGroupEgressRequest.Builder |
ipProtocol(String ipProtocol) |
The IP protocol name or number.
|
AuthorizeSecurityGroupEgressRequest.Builder |
sourceSecurityGroupName(String sourceSecurityGroupName) |
The name of a destination security group.
|
AuthorizeSecurityGroupEgressRequest.Builder |
sourceSecurityGroupOwnerId(String sourceSecurityGroupOwnerId) |
The AWS account number for a destination security group.
|
AuthorizeSecurityGroupEgressRequest.Builder |
toPort(Integer toPort) |
The end of port range for the TCP and UDP protocols, or an ICMP type number.
|
copy
apply, build
AuthorizeSecurityGroupEgressRequest.Builder groupId(String groupId)
The ID of the security group.
groupId
- The ID of the security group.AuthorizeSecurityGroupEgressRequest.Builder ipPermissions(Collection<IpPermission> ipPermissions)
A set of IP permissions. You can't specify a destination security group and a CIDR IP address range.
ipPermissions
- A set of IP permissions. You can't specify a destination security group and a CIDR IP address range.AuthorizeSecurityGroupEgressRequest.Builder ipPermissions(IpPermission... ipPermissions)
A set of IP permissions. You can't specify a destination security group and a CIDR IP address range.
NOTE: This method appends the values to the existing list (if any). Use
#setIpPermissions(java.util.Collection)
or #withIpPermissions(java.util.Collection)
if you
want to override the existing values.
ipPermissions
- A set of IP permissions. You can't specify a destination security group and a CIDR IP address range.AuthorizeSecurityGroupEgressRequest.Builder cidrIp(String cidrIp)
The CIDR IPv4 address range. We recommend that you specify the CIDR range in a set of IP permissions instead.
cidrIp
- The CIDR IPv4 address range. We recommend that you specify the CIDR range in a set of IP permissions
instead.AuthorizeSecurityGroupEgressRequest.Builder fromPort(Integer fromPort)
The start of port range for the TCP and UDP protocols, or an ICMP type number. We recommend that you specify the port range in a set of IP permissions instead.
fromPort
- The start of port range for the TCP and UDP protocols, or an ICMP type number. We recommend that you
specify the port range in a set of IP permissions instead.AuthorizeSecurityGroupEgressRequest.Builder ipProtocol(String ipProtocol)
The IP protocol name or number. We recommend that you specify the protocol in a set of IP permissions instead.
ipProtocol
- The IP protocol name or number. We recommend that you specify the protocol in a set of IP permissions
instead.AuthorizeSecurityGroupEgressRequest.Builder toPort(Integer toPort)
The end of port range for the TCP and UDP protocols, or an ICMP type number. We recommend that you specify the port range in a set of IP permissions instead.
toPort
- The end of port range for the TCP and UDP protocols, or an ICMP type number. We recommend that you
specify the port range in a set of IP permissions instead.AuthorizeSecurityGroupEgressRequest.Builder sourceSecurityGroupName(String sourceSecurityGroupName)
The name of a destination security group. To authorize outbound access to a destination security group, we recommend that you use a set of IP permissions instead.
sourceSecurityGroupName
- The name of a destination security group. To authorize outbound access to a destination security
group, we recommend that you use a set of IP permissions instead.AuthorizeSecurityGroupEgressRequest.Builder sourceSecurityGroupOwnerId(String sourceSecurityGroupOwnerId)
The AWS account number for a destination security group. To authorize outbound access to a destination security group, we recommend that you use a set of IP permissions instead.
sourceSecurityGroupOwnerId
- The AWS account number for a destination security group. To authorize outbound access to a destination
security group, we recommend that you use a set of IP permissions instead.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.