CopyableBuilder<RevokeSecurityGroupEgressRequest.Builder,RevokeSecurityGroupEgressRequest>
, SdkBuilder<RevokeSecurityGroupEgressRequest.Builder,RevokeSecurityGroupEgressRequest>
public static interface RevokeSecurityGroupEgressRequest.Builder extends CopyableBuilder<RevokeSecurityGroupEgressRequest.Builder,RevokeSecurityGroupEgressRequest>
Modifier and Type | Method | Description |
---|---|---|
RevokeSecurityGroupEgressRequest.Builder |
cidrIp(String cidrIp) |
The CIDR IP address range.
|
RevokeSecurityGroupEgressRequest.Builder |
fromPort(Integer fromPort) |
The start of port range for the TCP and UDP protocols, or an ICMP type number.
|
RevokeSecurityGroupEgressRequest.Builder |
groupId(String groupId) |
The ID of the security group.
|
RevokeSecurityGroupEgressRequest.Builder |
ipPermissions(Collection<IpPermission> ipPermissions) |
A set of IP permissions.
|
RevokeSecurityGroupEgressRequest.Builder |
ipPermissions(IpPermission... ipPermissions) |
A set of IP permissions.
|
RevokeSecurityGroupEgressRequest.Builder |
ipProtocol(String ipProtocol) |
The IP protocol name or number.
|
RevokeSecurityGroupEgressRequest.Builder |
sourceSecurityGroupName(String sourceSecurityGroupName) |
The name of a destination security group.
|
RevokeSecurityGroupEgressRequest.Builder |
sourceSecurityGroupOwnerId(String sourceSecurityGroupOwnerId) |
The AWS account number for a destination security group.
|
RevokeSecurityGroupEgressRequest.Builder |
toPort(Integer toPort) |
The end of port range for the TCP and UDP protocols, or an ICMP type number.
|
copy
apply, build
RevokeSecurityGroupEgressRequest.Builder groupId(String groupId)
The ID of the security group.
groupId
- The ID of the security group.RevokeSecurityGroupEgressRequest.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.RevokeSecurityGroupEgressRequest.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.RevokeSecurityGroupEgressRequest.Builder cidrIp(String cidrIp)
The CIDR IP address range. We recommend that you specify the CIDR range in a set of IP permissions instead.
cidrIp
- The CIDR IP address range. We recommend that you specify the CIDR range in a set of IP permissions
instead.RevokeSecurityGroupEgressRequest.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.RevokeSecurityGroupEgressRequest.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.RevokeSecurityGroupEgressRequest.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.RevokeSecurityGroupEgressRequest.Builder sourceSecurityGroupName(String sourceSecurityGroupName)
The name of a destination security group. To revoke 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 revoke outbound access to a destination security group,
we recommend that you use a set of IP permissions instead.RevokeSecurityGroupEgressRequest.Builder sourceSecurityGroupOwnerId(String sourceSecurityGroupOwnerId)
The AWS account number for a destination security group. To revoke 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 revoke 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.