Interface RevokeSecurityGroupIngressRequest.Builder

    • Method Detail

      • cidrIp

        RevokeSecurityGroupIngressRequest.Builder cidrIp​(String cidrIp)

        The CIDR IP address range. You can't specify this parameter when specifying a source security group.

        Parameters:
        cidrIp - The CIDR IP address range. You can't specify this parameter when specifying a source security group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fromPort

        RevokeSecurityGroupIngressRequest.Builder fromPort​(Integer fromPort)

        If the protocol is TCP or UDP, this is the start of the port range. If the protocol is ICMP, this is the ICMP type or -1 (all ICMP types).

        Parameters:
        fromPort - If the protocol is TCP or UDP, this is the start of the port range. If the protocol is ICMP, this is the ICMP type or -1 (all ICMP types).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groupId

        RevokeSecurityGroupIngressRequest.Builder groupId​(String groupId)

        The ID of the security group.

        Parameters:
        groupId - The ID of the security group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groupName

        RevokeSecurityGroupIngressRequest.Builder groupName​(String groupName)

        [Default VPC] The name of the security group. You must specify either the security group ID or the security group name in the request. For security groups in a nondefault VPC, you must specify the security group ID.

        Parameters:
        groupName - [Default VPC] The name of the security group. You must specify either the security group ID or the security group name in the request. For security groups in a nondefault VPC, you must specify the security group ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipPermissions

        RevokeSecurityGroupIngressRequest.Builder ipPermissions​(Collection<IpPermission> ipPermissions)

        The sets of IP permissions. You can't specify a source security group and a CIDR IP address range in the same set of permissions.

        Parameters:
        ipPermissions - The sets of IP permissions. You can't specify a source security group and a CIDR IP address range in the same set of permissions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipPermissions

        RevokeSecurityGroupIngressRequest.Builder ipPermissions​(IpPermission... ipPermissions)

        The sets of IP permissions. You can't specify a source security group and a CIDR IP address range in the same set of permissions.

        Parameters:
        ipPermissions - The sets of IP permissions. You can't specify a source security group and a CIDR IP address range in the same set of permissions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceSecurityGroupName

        RevokeSecurityGroupIngressRequest.Builder sourceSecurityGroupName​(String sourceSecurityGroupName)

        [Default VPC] The name of the source security group. You can't specify this parameter in combination with the following parameters: the CIDR IP address range, the start of the port range, the IP protocol, and the end of the port range. The source security group must be in the same VPC. To revoke a specific rule for an IP protocol and port range, use a set of IP permissions instead.

        Parameters:
        sourceSecurityGroupName - [Default VPC] The name of the source security group. You can't specify this parameter in combination with the following parameters: the CIDR IP address range, the start of the port range, the IP protocol, and the end of the port range. The source security group must be in the same VPC. To revoke a specific rule for an IP protocol and port range, use a set of IP permissions instead.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceSecurityGroupOwnerId

        RevokeSecurityGroupIngressRequest.Builder sourceSecurityGroupOwnerId​(String sourceSecurityGroupOwnerId)

        Not supported.

        Parameters:
        sourceSecurityGroupOwnerId - Not supported.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toPort

        RevokeSecurityGroupIngressRequest.Builder toPort​(Integer toPort)

        If the protocol is TCP or UDP, this is the end of the port range. If the protocol is ICMP, this is the ICMP code or -1 (all ICMP codes).

        Parameters:
        toPort - If the protocol is TCP or UDP, this is the end of the port range. If the protocol is ICMP, this is the ICMP code or -1 (all ICMP codes).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dryRun

        RevokeSecurityGroupIngressRequest.Builder dryRun​(Boolean dryRun)

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        Parameters:
        dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroupRuleIds

        RevokeSecurityGroupIngressRequest.Builder securityGroupRuleIds​(Collection<String> securityGroupRuleIds)

        The IDs of the security group rules.

        Parameters:
        securityGroupRuleIds - The IDs of the security group rules.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroupRuleIds

        RevokeSecurityGroupIngressRequest.Builder securityGroupRuleIds​(String... securityGroupRuleIds)

        The IDs of the security group rules.

        Parameters:
        securityGroupRuleIds - The IDs of the security group rules.
        Returns:
        Returns a reference to this object so that method calls can be chained together.