Interface RevokeSecurityGroupEgressRequest.Builder

    • Method Detail

      • dryRun

        RevokeSecurityGroupEgressRequest.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.
      • groupId

        RevokeSecurityGroupEgressRequest.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.
      • ipPermissions

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

        The sets of IP permissions. You can't specify a destination 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 destination 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

        RevokeSecurityGroupEgressRequest.Builder ipPermissions​(IpPermission... ipPermissions)

        The sets of IP permissions. You can't specify a destination 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 destination 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.
      • securityGroupRuleIds

        RevokeSecurityGroupEgressRequest.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

        RevokeSecurityGroupEgressRequest.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.
      • cidrIp

        RevokeSecurityGroupEgressRequest.Builder cidrIp​(String cidrIp)

        Not supported. Use a set of IP permissions to specify the CIDR.

        Parameters:
        cidrIp - Not supported. Use a set of IP permissions to specify the CIDR.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fromPort

        RevokeSecurityGroupEgressRequest.Builder fromPort​(Integer fromPort)

        Not supported. Use a set of IP permissions to specify the port.

        Parameters:
        fromPort - Not supported. Use a set of IP permissions to specify the port.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipProtocol

        RevokeSecurityGroupEgressRequest.Builder ipProtocol​(String ipProtocol)

        Not supported. Use a set of IP permissions to specify the protocol name or number.

        Parameters:
        ipProtocol - Not supported. Use a set of IP permissions to specify the protocol name or number.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toPort

        RevokeSecurityGroupEgressRequest.Builder toPort​(Integer toPort)

        Not supported. Use a set of IP permissions to specify the port.

        Parameters:
        toPort - Not supported. Use a set of IP permissions to specify the port.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceSecurityGroupName

        RevokeSecurityGroupEgressRequest.Builder sourceSecurityGroupName​(String sourceSecurityGroupName)

        Not supported. Use a set of IP permissions to specify a destination security group.

        Parameters:
        sourceSecurityGroupName - Not supported. Use a set of IP permissions to specify a destination security group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceSecurityGroupOwnerId

        RevokeSecurityGroupEgressRequest.Builder sourceSecurityGroupOwnerId​(String sourceSecurityGroupOwnerId)

        Not supported. Use a set of IP permissions to specify a destination security group.

        Parameters:
        sourceSecurityGroupOwnerId - Not supported. Use a set of IP permissions to specify a destination security group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.